Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default setting rowsource to a dynamic range in design mode

Is it possible to change a listbox's rowsource property equal to a
dynamic range using a variable in design mode? If so, how does one do
so? Thanks, Abe

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default setting rowsource to a dynamic range in design mode

Insert Name Define

Name:= ListA

Refersto:= =Offset(Sheet1!$A$1,1,0,counta($A:$A)-1,1)

click ADD


then in the rowsource property type in

ListA

--
Regards,
Tom Ogilvy



" wrote:

Is it possible to change a listbox's rowsource property equal to a
dynamic range using a variable in design mode? If so, how does one do
so? Thanks, Abe


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default setting rowsource to a dynamic range in design mode

Hi Tom--Thanks for your help, but I am still missing something. I have
programmatically defined the name in the initialize routine of the
userform and then typed the name ("list A") into the rowsource property
but nothing is happening. I have changed the name to refer to a certain
range on the active sheet, so perhaps that is the root of the trouble.
Any ideas?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default setting rowsource to a dynamic range in design mode

Nevermind, I have solved the trouble. Rowsource takes the info in
certain rows (duh!) and I need info for certain column headings.

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
Question regarding dynamic range setting dharmik Excel Worksheet Functions 2 July 22nd 05 08:44 PM
Hyperlinks Inserted in Design Mode inactive once Exited Design Mod Craig Excel Programming 0 March 16th 05 04:53 PM
Combo Box goes to edit mode even if design mode is in OFF position Chas Excel Discussion (Misc queries) 0 January 7th 05 07:21 PM
Dynamic range not resized for RowSource usage Tim Zych[_8_] Excel Programming 3 August 9th 04 02:08 AM
Enter Excel Design Mode and Exit Design Mode Bill Lunney Excel Programming 0 August 4th 03 07:48 AM


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