Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Workbook open to the same sheet

I'd like to know how to open the the same sheet of the workbook, regardless
of at which sheet it was save last.
Thx.
cg
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Workbook open to the same sheet

One way:

Put this in the ThisWorkbook module of the workbook:

Private Sub Workbook_Open()
Sheet1.Activate
End Sub

Where Sheet1 is the code name of the sheet you want to open.

In article ,
hccatmo wrote:

I'd like to know how to open the the same sheet of the workbook, regardless
of at which sheet it was save last.
Thx.
cg

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Workbook open to the same sheet

Did try on a module but not work!

How do I get to the ThisWorkbook module from
Tools
Macro
Visual Basic Editor
Thx.
cg

"JE McGimpsey" wrote:

One way:

Put this in the ThisWorkbook module of the workbook:

Private Sub Workbook_Open()
Sheet1.Activate
End Sub

Where Sheet1 is the code name of the sheet you want to open.

In article ,
hccatmo wrote:

I'd like to know how to open the the same sheet of the workbook, regardless
of at which sheet it was save last.
Thx.
cg


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Workbook open to the same sheet

See

http://www.mcgimpsey.com/excel/modules.html

In article ,
hccatmo wrote:

How do I get to the ThisWorkbook module from
Tools
Macro
Visual Basic Editor

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Workbook open to the same sheet

I found it. Yes. It does work.
Thanks, JE McGimpsey.
cg

"hccatmo" wrote:

Did try on a module but not work!

How do I get to the ThisWorkbook module from
Tools
Macro
Visual Basic Editor
Thx.
cg

"JE McGimpsey" wrote:

One way:

Put this in the ThisWorkbook module of the workbook:

Private Sub Workbook_Open()
Sheet1.Activate
End Sub

Where Sheet1 is the code name of the sheet you want to open.

In article ,
hccatmo wrote:

I'd like to know how to open the the same sheet of the workbook, regardless
of at which sheet it was save last.
Thx.
cg


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
open to a certain sheet tab in a different workbook akay71 New Users to Excel 1 June 5th 08 05:01 PM
How can I set a workbook to open always with a certain sheet I wan Shariq Setting up and Configuration of Excel 1 December 20th 06 09:01 AM
Search open sheets in workbook and insert into open sheet punx77 Excel Discussion (Misc queries) 0 March 6th 06 05:07 PM
Open workbook at a particular sheet George Gee New Users to Excel 2 October 15th 05 12:54 PM
open sheet on workbook open Stu[_31_] Excel Programming 4 October 20th 03 01:38 AM


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