E_DPSG
Board Regular
- Joined
- Jul 17, 2008
- Messages
- 82
Hi -
I am receiving the following error when calling the print function:
"Can't Enter Break Mode at this time"
With the options to : [Continue] [End] [//Debug//] [Help]
The debug option is disabled.
Code:
FName is a string passed to the function to print with a .pdf extension and contains full path which is valid.
I thought this might have been caused by stepping through the code, but that turned out to not be the case.
When you go to clear by either Continue or End, the VBA terminates and does not pick up where it left off.
As this is part of a loop (multiple tabs, multiple passes, etc), it presents a problem.
Any ideas as to what may cause this?
I am receiving the following error when calling the print function:
"Can't Enter Break Mode at this time"
With the options to : [Continue] [End] [//Debug//] [Help]
The debug option is disabled.
Code:
Code:
ActiveSheet.ExportAsFixedFormat _
Type:=xlTypePDF, _
FileName:=FName, _
Quality:=xlQualityStandard, IncludeDocProperties:=True, _
IgnorePrintAreas:=False, OpenAfterPublish:=False
FName is a string passed to the function to print with a .pdf extension and contains full path which is valid.
I thought this might have been caused by stepping through the code, but that turned out to not be the case.
When you go to clear by either Continue or End, the VBA terminates and does not pick up where it left off.
As this is part of a loop (multiple tabs, multiple passes, etc), it presents a problem.
Any ideas as to what may cause this?