Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Focus On Open - Goto

I am trying to figure out a way to do this in Excel.
I would like the focus to be on the first cell of the first worksheet when
the workbook is opened - every time.
Can this be done in VBA?
Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Focus On Open - Goto

Hi,

ALT+F11 to open vb editor. Double click 'Thisworkbok' and paste the code
below in on the right

Private Sub Workbook_Open()
Application.Goto Sheets(1).Range("A1")
End Sub

Mike

"chickalina" wrote:

I am trying to figure out a way to do this in Excel.
I would like the focus to be on the first cell of the first worksheet when
the workbook is opened - every time.
Can this be done in VBA?
Thanks for any help.

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
On open goto today Nemo Excel Discussion (Misc queries) 2 November 1st 09 04:23 PM
focus Capp Excel Discussion (Misc queries) 2 November 18th 05 07:25 PM
Why are my inserted photos out of focus when I open excel? lakrueger Excel Discussion (Misc queries) 0 September 23rd 05 11:07 PM
tool tip to open when the cell has the focus GRIFFO Excel Worksheet Functions 6 May 19th 05 07:04 PM
Focus David Unger Excel Worksheet Functions 20 March 21st 05 06:43 PM


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