Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro/combo interchange

I've had a look through the history but there doesn't
seem to be an appropriate
I understand that to fill a combo box on a worksheet from
within a macro you use the code:

ActiveSheet.Shapes("Drop Down 1").ListFillRange = "a1:d1"

.... but how would you then check the value of a combobox
from within a macro?

cheers

Bruce
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default macro/combo interchange

You notation indicates you are using dropdowns (comboboxes) from the forms
toolbar:

With ActiveSheet.DropDowns("Drop Down 1")
msgbox .List(.ListIndex)
End With

--
Regards,
Tom Ogilvy


"bruce dickson" wrote in message
...
I've had a look through the history but there doesn't
seem to be an appropriate
I understand that to fill a combo box on a worksheet from
within a macro you use the code:

ActiveSheet.Shapes("Drop Down 1").ListFillRange = "a1:d1"

... but how would you then check the value of a combobox
from within a macro?

cheers

Bruce



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
How to interchange the values between two selected cells? Ramesh Excel Discussion (Misc queries) 1 July 10th 09 12:22 PM
Interchange Columns and Rows in a Table Lawrence Excel Discussion (Misc queries) 2 June 22nd 08 04:37 PM
how do i interchange contents of one row for another pom Excel Discussion (Misc queries) 1 May 15th 08 11:56 AM
interchange rows and columns Larry Heine Excel Worksheet Functions 3 February 3rd 05 07:37 PM
interchange columns with rows Herman Excel Discussion (Misc queries) 2 December 8th 04 05:40 PM


All times are GMT +1. The time now is 01:15 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"