Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ron M.
 
Posts: n/a
Default Specific cell selected when sheet opens...how???

I want a specific cell to be selected when a worksheet is opened, so
the user can go right to work without having to find that cell, select
it, etc. I searched the newsgroup but can't find any articles on how
to do this. Can somebody help?

Thanks,
Ron M.

  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Specific cell selected when sheet opens...how???

You need a VBA procedure to do this. In the ThisWorkbook code
module, enter

Private Sub Workbook_Open()
' change the sheet and cell reference as desired
Application.Goto Worksheets("Sheet2").Range("B2"), True
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Ron M." wrote in message
oups.com...
I want a specific cell to be selected when a worksheet is
opened, so
the user can go right to work without having to find that cell,
select
it, etc. I searched the newsgroup but can't find any articles
on how
to do this. Can somebody help?

Thanks,
Ron M.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default Specific cell selected when sheet opens...how???

Hi Ron

Something like the following code copied into the This Workbook module,
would take the user to cell G10 of Sheet on opening the file

Private Sub Workbook_Open()
Sheets("Sheet1").Range("G10").Select
End Sub

Amend to suit the starting location you want.
To copy the code in, Right click on any tab in the Workbook and choose
View Code, to bring up the VB Editor.
If the Project Explore is not visible, press Ctrl+R to bring it up.
Locate your Workbook in the Explorer, and double click on the
ThisWorkbook module.
Copy the Code above and Paste into the Code pane (Press F7 to bring it
up, if not visible)
Press the Excel icon at top left to return to your sheet.
Save the file.

--
Regards

Roger Govier


"Ron M." wrote in message
oups.com...
I want a specific cell to be selected when a worksheet is opened, so
the user can go right to work without having to find that cell, select
it, etc. I searched the newsgroup but can't find any articles on how
to do this. Can somebody help?

Thanks,
Ron M.



  #4   Report Post  
Posted to microsoft.public.excel.misc
Ron M.
 
Posts: n/a
Default Specific cell selected when sheet opens...how???

I know how to enter the code, I just didn't know what the code was.

You guys should get medals! Thanks!

Ron M.

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
Sum of 3 nos. into 1 cell in another sheet relevant to specific da Ellie Excel Discussion (Misc queries) 0 September 19th 05 04:57 PM
print only selected cell contents without loosing spread sheet for Anna Tozier Excel Discussion (Misc queries) 1 September 16th 05 05:22 PM
Clicking Cell Link Changes Cell on Another Sheet nshah Excel Discussion (Misc queries) 1 August 31st 05 01:50 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Hyperlink to specific sheet in Excel Web File jd17 Links and Linking in Excel 0 December 8th 04 09:03 PM


All times are GMT +1. The time now is 11:19 PM.

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"