.
Hi Robert
It should be, try this
Sub Auto_open()
If Right(ThisWorkbook.FullName, 3) <> "xlt" Then
'Your Code
End If
End Sub
As a point of interest Robert, the prefered method now is to use the Workbook_Open placed within the Module of "ThisWorkbook". Best way to get there is to right click on the sheet picture, top left next to "File" and select "View Code"
Dave
OzGrid Business Applications
Hi Dave, I saw your response and am curious as to why using the Workbook_Open in the "This Workbook" module is preferred over the Auto_Open procedure? Are there advantages to one over the other? Thanks. Tom
Hi Tom
There are no real advantages (yet). The Workbook_Open was introduced in Excel 97 along with other Events and is intented to replace Auto_Open. Excel has left the Auto_Open operational for backward compatability. So I guess this means that at a later release Auto_Open will no longer work.
Dave
OzGrid Business Applications