View Single Post
  #1 (permalink)  
Old August 12th, 2009, 07:46 AM
rangeshram rangeshram is offline
Authorized User
Points: 145, Level: 2
Points: 145, Level: 2 Points: 145, Level: 2 Points: 145, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2008
Location: India
Posts: 31
Thanks: 6
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rangeshram
Default VBA Word Userform Dynamically - Help

Dear all,

Pls. help me to find the solution for Dynamic Positions in word.

I have created form with Listbox control to show the bold text in the whole document.

While selecting/double click the listbox item in the userform, the cursor will automatically go to their respective positions.

For example: Let us assume below instances were in the listbox

By clicking the TextBold2 i.e., the selected word in the listbox will match the word document and the cursor will automatically pointed there.

UsrfrmMain.lstBold.AddItem strBold(i)
I need help for the placing dynamic positions while clicking the listbox in the userform.

Reply With Quote