Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Expected end of statement error
Can any one tell me swhy my code stops at Paratransit and gives me an
Expected end of statement error ActiveWorkbook.SaveAs Filename:= _ "C:\Users\Owner\Desktop\Worksheets("Paratransi t Names").[A1].Value " _ & LWOP, Day Trade, Shift Swap.xlsm", FileFormat:= _ xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Expected end of statement error
Maybe...
ActiveWorkbook.SaveAs Filename:= _ "C:\Users\Owner\Desktop\" _ & Worksheets("Paratransit Names").range("a1").value _ & "LWOP, Day Trade, Shift Swap.xlsm", _ FileFormat:=xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False "Patrick C. Simonds" wrote: Can any one tell me swhy my code stops at Paratransit and gives me an Expected end of statement error ActiveWorkbook.SaveAs Filename:= _ "C:\Users\Owner\Desktop\Worksheets("Paratransi t Names").[A1].Value " _ & LWOP, Day Trade, Shift Swap.xlsm", FileFormat:= _ xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Overcome "expected end of statement error" | Excel Programming | |||
Micrsoft Visual Basic Compile error: Expected: end of statement | Excel Discussion (Misc queries) | |||
Formula expected end of statement error, typing formula into cell as part of VBA macro | Excel Programming | |||
Expected end of Statement | Excel Worksheet Functions | |||
For Each Statement not working as expected | Excel Programming |