Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2009, 11:28 PM
Bird_FAT's Avatar
Bird_FAT Bird_FAT is offline VB Code.. COmbo boxes VB Code.. COmbo boxes Office 2007
Expert
 
Join Date: Apr 2009
Location: South East
Posts: 271
Bird_FAT is on a distinguished road
Default


Have a go at:
Code:
dim ctr As Iterger
dim cbobx As String

Set ctr = 1
Set cbobx = "ComboBox" & ctr

do while ctr <= 20
     me.cbobox.value = "I am box" & ctr 
     ctr= ctr + 1
loop
Don't have time now to try it out, but let me know if it doesn't wor and I'll have a go again, later, to try again.
Reply With Quote
Reply



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