Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening A Specific Tab/Sheet in Excel

Status
Not open for further replies.

nriacone

IS-IT--Management
Aug 22, 2003
13
0
0
US
I am using a maintenance application that allows me to attach a document to a work order. When the application prints the work order the attachment is part of the print job. The issue occurs because the Excel files that are associated with the work orders have multiple tabs/sheets within the file. Is there a method to open an Excel file to a specific tab/sheet so we will not have to split each tab/sheet into a separate file?

Thanks in advance.
 
I don't know if it's the BEST method, but you can put this in the ThisWorkbook module of your VB Editor (Alt+F11):

Private Sub Workbook_Open()

Application.Goto Reference:="Sheet1!R[-1]C[-4]"

End Sub

Anne Troy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top