Robert Wagner said:
Actually, I'd already looked at "About customizing Excel startup
defaults". There doesn't seem to BE any way of preventing a new workbook
appearing at startup. Of course, in the Windows version there is: You
simply add "/e" after the Target path in a shortcup (oops--alias!)
linking to the application.
Have I missed something about the Mac version here?
No, you haven't missed anything.
However, if you put this in the ThisWorkbook code module of an add-in
that you store in the
Microsoft Office 2004:Office:Startup:Excel:
folder, the Workbook1 workbook will be closed when you start XL:
Private Sub Workbook_Open()
Dim wb As Workbook
For Each wb In Workbooks
If wb.Name = "Workbook1" Then
wb.Close SaveChanges:=False
Exit For
End If
Next wb
ThisWorkbook.Close SaveChanges:=False
End Sub
you could do something similar with an alias - just have the workbook
close itself in the Workbook_Open() event macro.
I've posted the add-in at
ftp://ftp.mcgimpsey.com/excel/noworkbook.xla