S
StargateFan
I have this macro in ThisOutlookSession that works great in newer
versions of Outlook. Outlook 2000 doesn't like it, however and I need
to fix it, please:
------------------------
Sub Application_Startup()
On Error Resume Next
strMsg = "Do you want to run the macro to expand all the
folders... ?"
If MsgBox(strMsg, vbYesNo + vbQuestion, "Expand all?") =
vbYes Then
ExpandAllFolders
End If
' REMINDERmessageReBossCalendar
End Sub
------------------------
Once O2K starts and I click on yes to enable macros, this error comes
up:
"Compile error:
Can't find project or library"
And in the vbe, this is selected in blue from the macro above "strMsg
=" and the first line, "Sub Application_Startup()" shows up in
highlighted in yellow.
I imagine the syntax differs between Outlooks so hoping someone
remembers old code that will work with this older version so that this
popup msgbox will work with O2K as it works in higher Outlook versions
that I have to work with at the office.
Thx.
versions of Outlook. Outlook 2000 doesn't like it, however and I need
to fix it, please:
------------------------
Sub Application_Startup()
On Error Resume Next
strMsg = "Do you want to run the macro to expand all the
folders... ?"
If MsgBox(strMsg, vbYesNo + vbQuestion, "Expand all?") =
vbYes Then
ExpandAllFolders
End If
' REMINDERmessageReBossCalendar
End Sub
------------------------
Once O2K starts and I click on yes to enable macros, this error comes
up:
"Compile error:
Can't find project or library"
And in the vbe, this is selected in blue from the macro above "strMsg
=" and the first line, "Sub Application_Startup()" shows up in
highlighted in yellow.
I imagine the syntax differs between Outlooks so hoping someone
remembers old code that will work with this older version so that this
popup msgbox will work with O2K as it works in higher Outlook versions
that I have to work with at the office.
Thx.