Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 06-09-2009, 05:11 AM
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

My appologies, I typed that too fast and called the variable two different things, it should have looked more like this:

Code:
dim ctr 'this will be the counter for the loop
crt =1
 
do while ctr <= 20
     me("ComboBox" & ctr).value = "I am box #" & ctr 
     ctr= ctr + 1
loop
The issue I am having is with the me("ComboBox" & ctr).value, it doesn't work as I expected it to, basically I am trying to find a way to find an equvilant to
me.Combobox1.value where I can use a variable instead of the actual combobox name.

Last edited by Bird_FAT; 06-09-2009 at 11:02 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 02:10 AM.


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