C
Chuck
A97
One of the outputs of a club database is a pdf report using the CutePDF Writer.
After the report is saved to the hard drive I use a macro to change the report
name - or at least I used to. I haven't used the database for over a year.
Today I opened the database and ran the report. The report printed the pdf file
correctly and was saved to the correct folder with the correct name,
E:\Data\Access\Club\Directory.pdf. The pdf file can be opened with Acrobat
reader. Then I ran the macro to change the name. An error message came up
saying: "The Microsoft Jet database engine could not find the object
"'E:\Data\Access\Club\Directory.pdf'" The path, name, and spelling are all
correct. The last time I used the database the Jet engine could find object
and renamed it correctly. Obviously something has changed, but what?
Macro:
Rename
New Name: "E:\Data\Access\Club\Directory" & " " &_
format(date(),"yymmdd") & ".pdf"
Object Type: Report
Old Name: "E:\Data\Access\Club\Directory.pdf"
All suggestions will be greatly appreciated.
Chuck
One of the outputs of a club database is a pdf report using the CutePDF Writer.
After the report is saved to the hard drive I use a macro to change the report
name - or at least I used to. I haven't used the database for over a year.
Today I opened the database and ran the report. The report printed the pdf file
correctly and was saved to the correct folder with the correct name,
E:\Data\Access\Club\Directory.pdf. The pdf file can be opened with Acrobat
reader. Then I ran the macro to change the name. An error message came up
saying: "The Microsoft Jet database engine could not find the object
"'E:\Data\Access\Club\Directory.pdf'" The path, name, and spelling are all
correct. The last time I used the database the Jet engine could find object
and renamed it correctly. Obviously something has changed, but what?
Macro:
Rename
New Name: "E:\Data\Access\Club\Directory" & " " &_
format(date(),"yymmdd") & ".pdf"
Object Type: Report
Old Name: "E:\Data\Access\Club\Directory.pdf"
All suggestions will be greatly appreciated.
Chuck