Re: Excel Tabs
- From: JP <jp2112@xxxxxxxxxxxxx>
- Date: Fri, 4 Apr 2008 20:18:07 -0700 (PDT)
To start Word:
Sub StartWord()
Dim wdApp as Object
Set wdApp = CreateObject("Word.Application")
wdApp.Visible = True
End Sub
To start Outlook (late binding):
Sub StartOutlook()
Dim olApp as Object
Set olApp = CreateObject("Outlook.Application")
olApp.Visible = True
End Sub
To select another work***:
Worksheets("Sheet1").Range("A1").Select
Replace "Sheet1" with the actual name of the sheet you want to view.
All of this code should be placed in a standard module (see
http://www.rondebruin.nl/code.htm for placement assistance).
HTH,
JP
On Apr 4, 10:45 pm, Creating a Word shortcut in Excel
<CreatingaWordshortcutinEx...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Yes, I mean open. Thanks.
- References:
- Excel Tabs
- From: Creating a Word shortcut in Excel
- Re: Excel Tabs
- From: JP
- Re: Excel Tabs
- From: Creating a Word shortcut in Excel
- Excel Tabs
- Prev by Date: RE: Excel Tabs
- Next by Date: adodb.Connection execute to Excel 12.0 from vb script
- Previous by thread: Re: Excel Tabs
- Next by thread: RE: Excel Tabs
- Index(es):
Loading