#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Please Help

Assuming a combobox from the control toolbox toolbar.

for i = 0 to Activesheet.combobox1.Listcount - 1
Combobox1.ListIndex = i
Activesheet.Printout
Next


--
Regards,
Tom Ogilvy


"bigwilly11189"
wrote in message
news:bigwilly11189.1wfxyf_1128535542.1367@excelfor um-nospam.com...

Hi,

What I want to do is loop through a combobox that already contains
values and print the sheet each time a new value is selected. For
example if the list contains: Apples, Oranges, and Bananas and I click
on a command button, it automatically selects apples, then prints, then
selects oranges, and prints, etc. until it reaches the last item in the
combobox. There are formulas that give a different output on the
worksheet each time a new item from the list is selected. Can this be
done? I dont' have any code to do this, so any help would be
appreciated.
Thanks.


--
bigwilly11189
------------------------------------------------------------------------
bigwilly11189's Profile:

http://www.excelforum.com/member.php...o&userid=21527
View this thread: http://www.excelforum.com/showthread...hreadid=473488



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"