morning all,
I'm new to vba so very much loving forums and google. Its a huge learning curve but forums like this have been invaluable...
I have a simply piece of code that takes the current userentry and emails it in a pdf...
only problem is the page orientation is portrait and I either need it landscape or to fit all detail on one page (ideally landscape).
I'm struggling with how to add a landscape request.
Dim f As Form
Set f = Forms![Employee Details]
f.Filter = "ID=" & f!ID
f.FilterOn = True
DoCmd.SendObject acSendForm, f.Name, acFormatPDF, "*** Email address is removed for privacy ***", , , "test", "See attached", True
f.FilterOn = False
Set f = Nothing
any ideas would be great
I'm new to vba so very much loving forums and google. Its a huge learning curve but forums like this have been invaluable...
I have a simply piece of code that takes the current userentry and emails it in a pdf...
only problem is the page orientation is portrait and I either need it landscape or to fit all detail on one page (ideally landscape).
I'm struggling with how to add a landscape request.
Dim f As Form
Set f = Forms![Employee Details]
f.Filter = "ID=" & f!ID
f.FilterOn = True
DoCmd.SendObject acSendForm, f.Name, acFormatPDF, "*** Email address is removed for privacy ***", , , "test", "See attached", True
f.FilterOn = False
Set f = Nothing
any ideas would be great