+ Reply to Thread
Results 1 to 3 of 3

Any way to open an excel file directly to a worksheet?

  1. #1
    Registered User
    Join Date
    06-02-2005
    Posts
    5

    Any way to open an excel file directly to a worksheet?

    I am building an application with an icon that launches an excel file when clicked. Is there any way I can open the file directly to a specified worksheet? The names of the worksheet are fixed and so is the file, so I am guessing adding some parameter after the filename should do the trick. Any help will be appreciated.

    Regards

    Sid

  2. #2
    Anne Troy
    Guest

    Re: Any way to open an excel file directly to a worksheet?

    Hey, Sid. Yes. See if this does it for you:
    http://www.vbaexpress.com/kb/getarticle.php?kb_id=338

    *******************
    ~Anne Troy

    www.OfficeArticles.com



    "skiddyrow" <[email protected]> wrote
    in message news:[email protected]...
    >
    > I am building an application with an icon that launches an excel file
    > when clicked. Is there any way I can open the file directly to a
    > specified worksheet? The names of the worksheet are fixed and so is the
    > file, so I am guessing adding some parameter after the filename should
    > do the trick. Any help will be appreciated.
    >
    > Regards
    >
    > Sid
    >
    >
    > --
    > skiddyrow
    > ------------------------------------------------------------------------
    > skiddyrow's Profile:

    http://www.excelforum.com/member.php...o&userid=23965
    > View this thread: http://www.excelforum.com/showthread...hreadid=386335
    >




  3. #3
    Dave Peterson
    Guest

    Re: Any way to open an excel file directly to a worksheet?

    You could use a macro that runs when you open the workbook.

    Option Explicit
    Sub auto_open()
    Application.Goto Worksheets("sheet1").Range("a1"), scroll:=True
    End Sub

    If you're new to macros, you may want to read David McRitchie's intro at:
    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    skiddyrow wrote:
    >
    > I am building an application with an icon that launches an excel file
    > when clicked. Is there any way I can open the file directly to a
    > specified worksheet? The names of the worksheet are fixed and so is the
    > file, so I am guessing adding some parameter after the filename should
    > do the trick. Any help will be appreciated.
    >
    > Regards
    >
    > Sid
    >
    > --
    > skiddyrow
    > ------------------------------------------------------------------------
    > skiddyrow's Profile: http://www.excelforum.com/member.php...o&userid=23965
    > View this thread: http://www.excelforum.com/showthread...hreadid=386335


    --

    Dave Peterson

+ 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