Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default List Box properties

Help

I'm populating a list box with values from my worksheet which is easy enough. But what do I need to do so that If I click on a value on the list box I can activate a macro that will change sheet

For example...I have 7 sheets for 7 days. I want the same drop down list on each sheet that will allow navigation between the sheets

Any help appreciated

GC
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default List Box properties

GC,

Is this a Forms Listbox? If so, right click on it to assign a macro, and
also to define a link cell. In the macro you can get the value from this
link cell like so

Worksheets(1).Range("A1").Value

To navigate the sheets

Worksheets(Worksheets(1).Range("A1").Value).Activa te

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Novice" wrote in message
...
Help!

I'm populating a list box with values from my worksheet which is easy

enough. But what do I need to do so that If I click on a value on the list
box I can activate a macro that will change sheet.

For example...I have 7 sheets for 7 days. I want the same drop down list

on each sheet that will allow navigation between the sheets.

Any help appreciated.

GC



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
Export the Contents list in `File Properties´ box Gregory Excel Discussion (Misc queries) 4 February 16th 07 01:49 PM
List File Properties - Author SS Excel Worksheet Functions 1 June 23rd 06 04:56 PM
validation/list properties Myriam Excel Worksheet Functions 1 January 18th 06 02:07 PM
List of GUIDs and other properties for future references Marc R. Bertrand[_2_] Excel Programming 2 October 28th 03 10:36 AM
Setting Font properties in Code clears Undo list Lorin Excel Programming 2 July 10th 03 09:49 PM


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