+ Reply to Thread
Results 1 to 6 of 6

Code for opening another sheet on button click

Hybrid View

Guest Code for opening another... 05-18-2005, 05:06 PM
Guest Re: Code for opening another... 05-18-2005, 05:06 PM
Guest Re: Code for opening another... 05-18-2005, 05:06 PM
Guest Re: Code for opening another... 05-18-2005, 05:06 PM
Guest Re: Code for opening another... 05-18-2005, 05:06 PM
Guest Re: Code for opening another... 05-18-2005, 06:06 PM
  1. #1
    pmud
    Guest

    Code for opening another sheet on button click

    Hi,

    I need to be able to open another worksheet when a button is clicked.

    What is the code for that.

    Thanks
    --
    pmud

  2. #2
    Chip Pearson
    Guest

    Re: Code for opening another sheet on button click

    Try

    Workbooks.Open filename:="C:\whatever.xls"


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com




    "pmud" <pmud@discussions.microsoft.com> wrote in message
    news:DA76355A-1CFF-4CBB-8E60-C5975CFD79C2@microsoft.com...
    > Hi,
    >
    > I need to be able to open another worksheet when a button is
    > clicked.
    >
    > What is the code for that.
    >
    > Thanks
    > --
    > pmud




  3. #3
    Ron de Bruin
    Guest

    Re: Code for opening another sheet on button click

    Look in the VBA help for workbooks.Open

    Workbooks.Open("C:\data\ron.xl*s")



    --
    Regards Ron de Bruin
    http://www.rondebruin.nl



    "pmud" <pmud@discussions.microsoft.com> wrote in message news:DA76355A-1CFF-4CBB-8E60-C5975CFD79C2@microsoft.com...
    > Hi,
    >
    > I need to be able to open another worksheet when a button is clicked.
    >
    > What is the code for that.
    >
    > Thanks
    > --
    > pmud




  4. #4
    pmud
    Guest

    Re: Code for opening another sheet on button click

    Hi,

    Its not another workbook, its a sheet within the same workbook.how to do that?

    Thanks
    --
    pmud


    "Ron de Bruin" wrote:

    > Look in the VBA help for workbooks.Open
    >
    > Workbooks.Open("C:\data\ron.xlÂ*s")
    >
    >
    >
    > --
    > Regards Ron de Bruin
    > http://www.rondebruin.nl
    >
    >
    >
    > "pmud" <pmud@discussions.microsoft.com> wrote in message news:DA76355A-1CFF-4CBB-8E60-C5975CFD79C2@microsoft.com...
    > > Hi,
    > >
    > > I need to be able to open another worksheet when a button is clicked.
    > >
    > > What is the code for that.
    > >
    > > Thanks
    > > --
    > > pmud

    >
    >
    >


  5. #5
    Ron de Bruin
    Guest

    Re: Code for opening another sheet on button click

    Sheets("yoursheet").select

    --
    Regards Ron de Bruin
    http://www.rondebruin.nl



    "pmud" <pmud@discussions.microsoft.com> wrote in message news:0278F388-638A-4E77-9DF5-D79D0C42DD64@microsoft.com...
    > Hi,
    >
    > Its not another workbook, its a sheet within the same workbook.how to do that?
    >
    > Thanks
    > --
    > pmud
    >
    >
    > "Ron de Bruin" wrote:
    >
    >> Look in the VBA help for workbooks.Open
    >>
    >> Workbooks.Open("C:\data\ron.xl*s")
    >>
    >>
    >>
    >> --
    >> Regards Ron de Bruin
    >> http://www.rondebruin.nl
    >>
    >>
    >>
    >> "pmud" <pmud@discussions.microsoft.com> wrote in message news:DA76355A-1CFF-4CBB-8E60-C5975CFD79C2@microsoft.com...
    >> > Hi,
    >> >
    >> > I need to be able to open another worksheet when a button is clicked.
    >> >
    >> > What is the code for that.
    >> >
    >> > Thanks
    >> > --
    >> > pmud

    >>
    >>
    >>




  6. #6
    pmud
    Guest

    Re: Code for opening another sheet on button click

    Thanks Ron,

    That worked.
    --
    pmud


    "Ron de Bruin" wrote:

    > Sheets("yoursheet").select
    >
    > --
    > Regards Ron de Bruin
    > http://www.rondebruin.nl
    >
    >
    >
    > "pmud" <pmud@discussions.microsoft.com> wrote in message news:0278F388-638A-4E77-9DF5-D79D0C42DD64@microsoft.com...
    > > Hi,
    > >
    > > Its not another workbook, its a sheet within the same workbook.how to do that?
    > >
    > > Thanks
    > > --
    > > pmud
    > >
    > >
    > > "Ron de Bruin" wrote:
    > >
    > >> Look in the VBA help for workbooks.Open
    > >>
    > >> Workbooks.Open("C:\data\ron.xlÂ*s")
    > >>
    > >>
    > >>
    > >> --
    > >> Regards Ron de Bruin
    > >> http://www.rondebruin.nl
    > >>
    > >>
    > >>
    > >> "pmud" <pmud@discussions.microsoft.com> wrote in message news:DA76355A-1CFF-4CBB-8E60-C5975CFD79C2@microsoft.com...
    > >> > Hi,
    > >> >
    > >> > I need to be able to open another worksheet when a button is clicked.
    > >> >
    > >> > What is the code for that.
    > >> >
    > >> > Thanks
    > >> > --
    > >> > pmud
    > >>
    > >>
    > >>

    >
    >
    >


+ 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