Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
EA EA is offline
external usenet poster
 
Posts: 28
Default LinkCell Property

I have built a worksheet which has a couple of Combobox on it, which are
populated from a named ranges. Each of the comboboxes has it's LinkedCell
property set at design time.

However I wish to change each Comboboxes' LinkCell property at run-time.

[Combobox name].LinkedCell = "" - seems to break the connection

[Combobox name].LinkedCell = "Sheet1!A1" - does not reset it.

How do I reference the new LinkedCell to update that property of the
Combobox?

EA


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default LinkCell Property


Activesheet.[Combobox name].LinkedCell = "Sheet1!A1"

worked for me (in XL2003)!

Regards,
Stefi

€žEA€ ezt Ã*rta:

I have built a worksheet which has a couple of Combobox on it, which are
populated from a named ranges. Each of the comboboxes has it's LinkedCell
property set at design time.

However I wish to change each Comboboxes' LinkCell property at run-time.

[Combobox name].LinkedCell = "" - seems to break the connection

[Combobox name].LinkedCell = "Sheet1!A1" - does not reset it.

How do I reference the new LinkedCell to update that property of the
Combobox?

EA



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
"Invalid Property" msg when Property Valid??? BernieR Excel Programming 1 April 20th 06 09:34 AM
Runtime Error 380 – Could not set the list property. Invalid property value BernzG[_16_] Excel Programming 2 August 21st 05 10:10 PM
Value Property vs Text property augustus Excel Programming 3 October 31st 04 10:32 PM
Runtime error 380: Could not set the List property. invalid property value of listbox jasgrand Excel Programming 0 October 6th 04 09:28 PM
Is there a Filename property in PrintOut property Christian[_6_] Excel Programming 4 September 3rd 04 10:12 PM


All times are GMT +1. The time now is 02:36 AM.

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

About Us

"It's about Microsoft Excel"