Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jez
 
Posts: n/a
Default Lookup worksheet agony

Hi,

I cant workout how I can enter on a front sheet the name of the week (eg
Cell A1 input Monday) and this then looks through the work tabs to find what
i have input and goes to that work sheet. (eg looks through all worksheets
and finds monday and shows this worksheet.

Help :-)

Thanks,
Jez


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

On Error GoTo ws_exit:
Application.EnableEvents = False
If Target.Address = "$A$1" Then
On Error Resume Next
Worksheets(Target.Value).Activate
On Error GoTo 0
End If

ws_exit:
Application.EnableEvents = True
End Sub

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.


--
HTH

Bob Phillips

"Jez" wrote in message
...
Hi,

I cant workout how I can enter on a front sheet the name of the week (eg
Cell A1 input Monday) and this then looks through the work tabs to find

what
i have input and goes to that work sheet. (eg looks through all worksheets
and finds monday and shows this worksheet.

Help :-)

Thanks,
Jez




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
Lookup baseball scores in 1 worksheet and have them display in ano Oceanverd Excel Worksheet Functions 3 May 1st 05 04:44 AM
Search/Match between 2 x separate Worksheets and populate result in third worksheet Alan Bartley Excel Discussion (Misc queries) 1 April 11th 05 05:21 AM
How do I highlight all lookup formulas in a worksheet in one shot. JT Excel Discussion (Misc queries) 7 March 4th 05 10:35 PM
Lookup worksheet name in separate workbook daj32 Excel Discussion (Misc queries) 4 February 2nd 05 10:54 PM
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM


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