P
PeterM
I have VBA code in a form that creates a .vcs file for importing into the
Outlook Calendar. All I need to do is call that .vcs file and outlook will
start up and ask to save the entry. It works fine outside of Access. If I
go to Windows Explorer and click on vCalendarExport.vcs, an outlook calendar
entry pops us and asks if I want to save the entry.
However, when I run the vCalendarExport.vcs from within VBA code using Call
Shell("C:\vCalendarExport.vcs", vbNormalFocus) a dos window opens and the
message in the dos window says "C:\vCalendarExport.vcs is not recognized as
an internal or external command, operable program or batch file."
What am I doing wrong? Any help would be appreciated.
Outlook Calendar. All I need to do is call that .vcs file and outlook will
start up and ask to save the entry. It works fine outside of Access. If I
go to Windows Explorer and click on vCalendarExport.vcs, an outlook calendar
entry pops us and asks if I want to save the entry.
However, when I run the vCalendarExport.vcs from within VBA code using Call
Shell("C:\vCalendarExport.vcs", vbNormalFocus) a dos window opens and the
message in the dos window says "C:\vCalendarExport.vcs is not recognized as
an internal or external command, operable program or batch file."
What am I doing wrong? Any help would be appreciated.