B
Bob Barnes
The string M in the code snippet below is a
long path to a File on a Server.
When the code tries to open the Workbook...
Set objXLWb = objXLApp.Workbooks.Open(M)
......''it says it can't find the File.
It there a "limitation" to automating to a Server File?
I have done plenty of automation to Local (C Files,
and can modify my design to populate a Local File &
then send it to a User.
Thoughts?? TIA - Bob
M = "\\T01A3F1\Abcdef\" _
& " AM DAILY REPORT DO NOT DELETE\" _
& "Daily Report\" _
& "Daily Report Input Sheets\" _
& "Productivity Input.xls"
'Open Excel Session
Set objXLApp = CreateObject("Excel.Application")
'open workbook, error routine will create it if doesn't exist
'select desired worksheet
Set objXLWb = objXLApp.Workbooks.Open(M)
long path to a File on a Server.
When the code tries to open the Workbook...
Set objXLWb = objXLApp.Workbooks.Open(M)
......''it says it can't find the File.
It there a "limitation" to automating to a Server File?
I have done plenty of automation to Local (C Files,
and can modify my design to populate a Local File &
then send it to a User.
Thoughts?? TIA - Bob
M = "\\T01A3F1\Abcdef\" _
& " AM DAILY REPORT DO NOT DELETE\" _
& "Daily Report\" _
& "Daily Report Input Sheets\" _
& "Productivity Input.xls"
'Open Excel Session
Set objXLApp = CreateObject("Excel.Application")
'open workbook, error routine will create it if doesn't exist
'select desired worksheet
Set objXLWb = objXLApp.Workbooks.Open(M)