graduate106
Board Regular
- Joined
- Jul 14, 2011
- Messages
- 91
Hi i have a good macro designated to a keyboard shortcut which saves my excel worksheet as a PDF to a particular folder on my hard drive (see below).
I know this is not strictly a "Word" forum, but womndered if anyone else could point me in the direction of tweaking this so that it worked in Word. I have done a few google searches but i'm struggling to get anything to work. I have never written a macro in Word before.
Any help appreciated, thanks
Sub SAVE_AS_PDF()
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"V:\" & (ActiveSheet.Name) & ".pdf", Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=False
MsgBox ("PDF successfully saved to V: drive!")
End Sub
I know this is not strictly a "Word" forum, but womndered if anyone else could point me in the direction of tweaking this so that it worked in Word. I have done a few google searches but i'm struggling to get anything to work. I have never written a macro in Word before.
Any help appreciated, thanks
Sub SAVE_AS_PDF()
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"V:\" & (ActiveSheet.Name) & ".pdf", Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=False
MsgBox ("PDF successfully saved to V: drive!")
End Sub