![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Stockton, California
Posts: 281
|
Hi everyone.
I was wondering if there is a way to change the cell link of a named ("CMB_BOX1") combo box using a macro? Say for example it is now unlinked, i would like a macro to link it to cell a1 (which contains a "2") and have the combo box update, so that it displays the 2nd name in the list (already linked). Can i do this all with a macro? Thanks |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
ActiveSheet.Shapes("CMB_BOX1").ControlFormat.LinkedCell = "$A$1" |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|