Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Control which option is visible in Combo boxes

H

I work with an indatasheet for repeated calculations of different cases, and most of the input data are chosen with combo boxes.

I want to have a reset button, which make the visible text in the combo boxes returns to the original texts. I dont know the required code to control the combo boxes..

I would be very glad for help

/Sebastian Axelsson, sweden
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Control which option is visible in Combo boxes

for each oleObj in Activesheet.OleObjects
if typeof oleObj.Object is MSForms.Combobox then
oleObj.Object.ListIndex = -1
end if
Next

--
Regards,
Tom Ogilvy

"Sebastian Axelsson" wrote in message
...
Hi

I work with an indatasheet for repeated calculations of different cases,

and most of the input data are chosen with combo boxes.

I want to have a reset button, which make the visible text in the combo

boxes returns to the original texts. I dont know the required code to
control the combo boxes..

I would be very glad for help!

/Sebastian Axelsson, sweden



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Combo boxes to change options based on other Combo boxes. Ancient Wolf New Users to Excel 1 March 27th 09 06:29 PM
No range option in format control for combo box Sai Krishna[_2_] Excel Worksheet Functions 1 January 2nd 08 11:37 AM
Selecting subsets using combo boxes or list boxes CLamar Excel Discussion (Misc queries) 0 June 1st 06 07:43 PM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 1 February 16th 05 02:05 AM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 0 February 15th 05 07:45 PM


All times are GMT +1. The time now is 04:03 PM.

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"