Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Tue, 23 Sep 2008 06:54:15 -0700,    group: microsoft.public.word.vba.general        back       


positioning to dropdown   
I have the following code to position to a certain field on a form:
ActiveDocument.Bookmarks("Text6").Range.Fields(1).Result.Select

What is the syntax to position to dropdown1?

Thanks,
Bryan
date: Tue, 23 Sep 2008 06:54:15 -0700   author:   bryan

Re: positioning to dropdown   
That could be

ActiveDocument.Bookmarks("Text6").Range.Select

and for DropDown1

ActiveDocument.Bookmarks("DropDown1").Range.Select


-- 
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"bryan"  wrote in message 
news:30008C50-ACE9-4F03-AB69-7593E04BC176@microsoft.com...
>I have the following code to position to a certain field on a form:
> ActiveDocument.Bookmarks("Text6").Range.Fields(1).Result.Select
>
> What is the syntax to position to dropdown1?
>
> Thanks,
> Bryan
>
date: Wed, 24 Sep 2008 13:12:00 +1000   author:   Doug Robbins - Word MVP

Re: positioning to dropdown   
After playing around with it I used 
ActiveDocument.Bookmarks("DropDown1").Select

What would be the difference between this and including Range?

Thanks,
Bryan



"Doug Robbins - Word MVP" wrote:

> That could be
> 
> ActiveDocument.Bookmarks("Text6").Range.Select
> 
> and for DropDown1
> 
> ActiveDocument.Bookmarks("DropDown1").Range.Select
> 
> 
> -- 
> Hope this helps.
> 
> Please reply to the newsgroup unless you wish to avail yourself of my
> services on a paid consulting basis.
> 
> Doug Robbins - Word MVP
> 
> "bryan"  wrote in message 
> news:30008C50-ACE9-4F03-AB69-7593E04BC176@microsoft.com...
> >I have the following code to position to a certain field on a form:
> > ActiveDocument.Bookmarks("Text6").Range.Fields(1).Result.Select
> >
> > What is the syntax to position to dropdown1?
> >
> > Thanks,
> > Bryan
> > 
> 
> 
>
date: Wed, 24 Sep 2008 08:30:15 -0700   author:   bryan

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us