Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
What is the start command syntax if I want to open a Excel 2007 workbook with
a certain worksheet ? ( Not the standard "Sheet1" ) |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In a macro???
Option Explicit Sub Auto_Open() application.goto thisworkbook.worksheets("sheet9999").range("a1"), _ scroll:=true End Sub Sunnose wrote: What is the start command syntax if I want to open a Excel 2007 workbook with a certain worksheet ? ( Not the standard "Sheet1" ) -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No, not from a macro. From a command prompt or from "scheduled activities"
------------------------------------ "Dave Peterson" skrev: In a macro??? Option Explicit Sub Auto_Open() application.goto thisworkbook.worksheets("sheet9999").range("a1"), _ scroll:=true End Sub Sunnose wrote: What is the start command syntax if I want to open a Excel 2007 workbook with a certain worksheet ? ( Not the standard "Sheet1" ) -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How would excel/windows know what worksheet to start on--if you have 37 excel
workbook with scheduled activities--and each of those could have multiple differently named worksheets. In a specific workbook, you could use a macro to specify which worksheet to start on. Sunnose wrote: No, not from a macro. From a command prompt or from "scheduled activities" ------------------------------------ "Dave Peterson" skrev: In a macro??? Option Explicit Sub Auto_Open() application.goto thisworkbook.worksheets("sheet9999").range("a1"), _ scroll:=true End Sub Sunnose wrote: What is the start command syntax if I want to open a Excel 2007 workbook with a certain worksheet ? ( Not the standard "Sheet1" ) -- Dave Peterson -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Well, that´s what I would like to tell Excel in the command prompt.
For example: something like c:\program\excel.exe c:\folder\myworkbook!sheet9999.xls Perhaps it´s not possible ? "Dave Peterson" skrev: How would excel/windows know what worksheet to start on--if you have 37 excel workbook with scheduled activities--and each of those could have multiple differently named worksheets. In a specific workbook, you could use a macro to specify which worksheet to start on. Sunnose wrote: No, not from a macro. From a command prompt or from "scheduled activities" ------------------------------------ "Dave Peterson" skrev: In a macro??? Option Explicit Sub Auto_Open() application.goto thisworkbook.worksheets("sheet9999").range("a1"), _ scroll:=true End Sub Sunnose wrote: What is the start command syntax if I want to open a Excel 2007 workbook with a certain worksheet ? ( Not the standard "Sheet1" ) -- Dave Peterson -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Put the sheet selecting macro IN the workbook. When the workbook opens
the desired sheet will be the active one. Sunnose wrote: Well, that´s what I would like to tell Excel in the command prompt. For example: something like c:\program\excel.exe c:\folder\myworkbook!sheet9999.xls Perhaps it´s not possible ? "Dave Peterson" skrev: How would excel/windows know what worksheet to start on--if you have 37 excel workbook with scheduled activities--and each of those could have multiple differently named worksheets. In a specific workbook, you could use a macro to specify which worksheet to start on. Sunnose wrote: No, not from a macro. From a command prompt or from "scheduled activities" ------------------------------------ "Dave Peterson" skrev: In a macro??? Option Explicit Sub Auto_Open() application.goto thisworkbook.worksheets("sheet9999").range("a1"), _ scroll:=true End Sub Sunnose wrote: What is the start command syntax if I want to open a Excel 2007 workbook with a certain worksheet ? ( Not the standard "Sheet1" ) -- Dave Peterson -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 very slow to open even the simplest worksheet | Excel Discussion (Misc queries) | |||
Access and Excel 2007 don't open | Excel Discussion (Misc queries) | |||
How do I get a blank worksheet to open up when I open Excel? | Setting up and Configuration of Excel | |||
excel 2007 does not open file on first try | Excel Discussion (Misc queries) | |||
Excel 2007: Files do not open | Excel Discussion (Misc queries) |