Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Validation/Macros

Hi Jock

Sub test()
On Error Resume Next
Sheets(ActiveSheet.Range("A1").Value).Select
On Error GoTo 0
End Sub

With the data validation list in A1 try this

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Jock" wrote in message ...
Hi...

Eek someone help me!

I have 12 sheets one for each month and on each a validation drop down menu with the list ofm months. Has anyone got any code

to help me so that when I the cell is activayed by the validation value the sheet can change to the correct month...

A beer in the mail to anyone who can help me out...I know its easy...but not for a novice like me...

Jock...



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Validation/Macros

Oops, I forgot to tell you that you must run this macro in the Change event.

See Tom's reply

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Ron de Bruin" wrote in message ...
Hi Jock

Sub test()
On Error Resume Next
Sheets(ActiveSheet.Range("A1").Value).Select
On Error GoTo 0
End Sub

With the data validation list in A1 try this

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"Jock" wrote in message ...
Hi...

Eek someone help me!

I have 12 sheets one for each month and on each a validation drop down menu with the list ofm months. Has anyone got any

code
to help me so that when I the cell is activayed by the validation value the sheet can change to the correct month...

A beer in the mail to anyone who can help me out...I know its easy...but not for a novice like me...

Jock...





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
Macros running with Validation Rules Chris Excel Worksheet Functions 2 March 9th 10 12:07 AM
Excel 2007-programming macros that apply to data validation Derek Megyesi New Users to Excel 1 January 31st 10 10:11 PM
Macros & Validation John Calder New Users to Excel 0 June 13th 06 02:48 AM
Data Validation & Macros Michael Link Excel Discussion (Misc queries) 2 March 9th 05 05:32 PM
Validation/Macros Tom Ogilvy Excel Programming 1 January 15th 04 04:21 PM


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