ahovander1213
New Member
- Joined
- Oct 13, 2018
- Messages
- 10
I have a macro that works on my pc perfectly. When I try to run on other users pc I get the same error.
Section below in red font is my issue.
When I have other users run I get a DEBUG error and the red font highlights in Yellow. (Sorry I couldn't figure out how to hightlight in this website to match)
Initial thought was that other users did not have read/write permissions to the folder specified. I have triple checked that they do have the rights.
Now I am thinking that Excel needs to be tweaked in Trust Center.
Any and all assistance is greatly appreciated.
Sub GS_Push()
'
' GS_Push Macro
'
'
Application.Goto Reference:="R19C28"
Range("AB19").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:="\\a-ca-App01\SmartSearchImport\Order\29\QC Sales " & Range("n2") & "." & Range("t2").Value _
, Quality:=xlQualityMedium, IncludeDocProperties:=True, _
IgnorePrintAreas:=False, OpenAfterPublish:=False
ActiveWorkbook.Save
ActiveWorkbook.Close
Section below in red font is my issue.
When I have other users run I get a DEBUG error and the red font highlights in Yellow. (Sorry I couldn't figure out how to hightlight in this website to match)
Initial thought was that other users did not have read/write permissions to the folder specified. I have triple checked that they do have the rights.
Now I am thinking that Excel needs to be tweaked in Trust Center.
Any and all assistance is greatly appreciated.
Sub GS_Push()
'
' GS_Push Macro
'
'
Application.Goto Reference:="R19C28"
Range("AB19").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:="\\a-ca-App01\SmartSearchImport\Order\29\QC Sales " & Range("n2") & "." & Range("t2").Value _
, Quality:=xlQualityMedium, IncludeDocProperties:=True, _
IgnorePrintAreas:=False, OpenAfterPublish:=False
ActiveWorkbook.Save
ActiveWorkbook.Close