Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
RJG RJG is offline
external usenet poster
 
Posts: 19
Default Always Open to the same worksheet

When my workbook opens I want it to always open to "sheet1" which I
have renamed as "Menu" and the active cell to be D7.

This menu sheet allows the user to incert dates, however when the sheet
is opened it still has the last dates in place, is it possible to open
the worksheet "menu" and if there is anything in cells f4, f8, or f12
to delete it and then have the curser finish in active cell D7.

With thanks

Bob

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Always Open to the same worksheet

Put this in a general module:

Option Explicit
sub auto_open()

worksheets("Menu").select
range("f4,f8,f12").clearcontents
range("d7").select

end sub


RJG wrote:

When my workbook opens I want it to always open to "sheet1" which I
have renamed as "Menu" and the active cell to be D7.

This menu sheet allows the user to incert dates, however when the sheet
is opened it still has the last dates in place, is it possible to open
the worksheet "menu" and if there is anything in cells f4, f8, or f12
to delete it and then have the curser finish in active cell D7.

With thanks

Bob


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
RJG RJG is offline
external usenet poster
 
Posts: 19
Default Always Open to the same worksheet

Dave,
Thank you.

Bob

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
Excel 2007, Automatically open new worksheet on open. jkmyoung Excel Discussion (Misc queries) 4 March 29th 10 04:36 PM
My desktop worksheet shortcut will not open the Excel Worksheet Steve09 Excel Discussion (Misc queries) 2 September 17th 09 04:33 PM
How do I get a blank worksheet to open up when I open Excel? Art@ISCO Setting up and Configuration of Excel 0 July 17th 07 01:30 PM
'Save current worksheet'; 'Open next worksheet' - two command buttons englishmustard Excel Discussion (Misc queries) 1 April 7th 06 12:54 PM
How do I get my personal macro worksheet to open whenever I open . Claudia_R Excel Discussion (Misc queries) 3 December 9th 04 11:59 PM


All times are GMT +1. The time now is 12:18 PM.

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"