+ Reply to Thread
Results 1 to 2 of 2

To Open excel in the Selected Sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    04-22-2008
    Posts
    4

    To Open excel in the Selected Sheet

    Hey Guys,

    See, there are bunch of Sheet
    example: Sheet1, Sheet2, Sheet3

    No matter where i save it and Close, When i open the Excel again i want excel to start with "Sheet1" Itself

    example: If i save the Excel at Sheet2 and Close it, and when i reopen the excel it should show the Sheet1.

    Is there a way to Do this.

    PLZ Help.............

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Use the Workbook_BeforeClose event

    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    Sheet1.Select
    ThisWorkbook.Close True 
    End Sub
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1