try
Or instead![]()
path = "D:\Content\Invoices\" '<----- Backslash added at the end
![]()
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, ignoreprintareas:=False, FileName:=path & "\" & fname & ".pdf" '<----- Backslash added between path & fname
try
Or instead![]()
path = "D:\Content\Invoices\" '<----- Backslash added at the end
![]()
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, ignoreprintareas:=False, FileName:=path & "\" & fname & ".pdf" '<----- Backslash added between path & fname
As a kid I used to watch the wizard of OZ and wondered how someone could talk if they didn't have a brain. Then I got social media.
Neither of these worked. Same message.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks