Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-08-2009, 12:52 PM
DrewB DrewB is offline VB Code.. COmbo boxes Windows XP VB Code.. COmbo boxes Office 2003
Novice
VB Code.. COmbo boxes
 
Join Date: Feb 2009
Posts: 6
DrewB is on a distinguished road
Default VB Code.. COmbo boxes

I have not done much coding for Word Docs, I have done some in MS Access and what i would like to do I know how to do in Access so I'm sure it can be done in word as well.. here is the deal:
I have about 20 combo boxes in a Word doc and I would like to be able to use a loop to set certain properties or update the text in them, I have them named in this sort of convention ComboBox1, ComboBox2... ComboBox20. I would imagine I should be able to do something like this as I can with Access but it doesn't quite work:



Code:
crt =1
 
do while cnt <= 20
     me("ComboBox" & ctr).value = "I am box #" & ctr
     ctr= ctr + 1
loop
is there a way to do this in MS word??

Last edited by Bird_FAT; 06-08-2009 at 11:31 PM.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VB Code.. COmbo boxes Hide a combo box DrewB Word 3 06-08-2009 11:29 PM
Problem with Developer Form -- Check Boxes and Text Boxes PCC Word 1 05-16-2009 05:22 AM
PP 2007: Template - Title slide boxes netkos PowerPoint 0 02-19-2009 10:30 AM
VB Code.. COmbo boxes check boxes in outlook 2007 kim Outlook 3 02-17-2009 10:34 AM
Word Text Boxes do not print RogerMantle Word 0 02-16-2009 06:48 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft