开发者

MS Access-VBA _ Save a Report to Hard Drive

开发者 https://www.devze.com 2023-01-01 03:40 出处:网络
need some help with this code if anyone can answer. Any suggestions are most appreciated. I have a report that I want to save to my hard drive when clicking a button. When saving the report I want t

need some help with this code if anyone can answer. Any suggestions are most appreciated.

I have a report that I want to save to my hard drive when clicking a button. When saving the report I want the filename to be created using two pieces of information from the report.

Variables:

  Repor开发者_StackOverflowt = "Contract"
  Save Location = "C:\Folder\"
  File Name = [Customer] &  " _ "  & [Date]
  File Type = PDF

Thank you!


You could save a macro and read the code in there.

0

精彩评论

暂无评论...
验证码 换一张
取 消