StumblingThrough
Technical User
I've got a automated database that creates a report, writes it to PDF format, and then sends via email using Outlook. Has worked for years (and still works) using Acrobat 5.0. I've got a PC that has Acrobat 7.0, and someting is wrong. Been banging my head on the desk for days now and cannot figure it out. I'm fairly good with VBA, but not as good as I apparently need to be for this. Here is what is happening.
At the step "DoCmd.OpenReport strReportName", a dialog box now appears asking me where I want to save the pdf file. On the PC with Acrobat 5.0 installed, this dialog box does NOT appear, and the report is written to a the path specified in this statement:
SetKeyValue "Software\Adobe\Acrobat PDFWriter", "PDFFilename", strPath, REG_SZ
The above statement (within code which I borrowed and do not completely understand) apparently makes changes to the registry. But for some reason it needs to do something different with Acrobat 6.0/7.0 than it does for earlier versions.
Any ideas / suggestions (other than revert to using Acrobat 5.0)? Thanks in advance!
At the step "DoCmd.OpenReport strReportName", a dialog box now appears asking me where I want to save the pdf file. On the PC with Acrobat 5.0 installed, this dialog box does NOT appear, and the report is written to a the path specified in this statement:
SetKeyValue "Software\Adobe\Acrobat PDFWriter", "PDFFilename", strPath, REG_SZ
The above statement (within code which I borrowed and do not completely understand) apparently makes changes to the registry. But for some reason it needs to do something different with Acrobat 6.0/7.0 than it does for earlier versions.
Any ideas / suggestions (other than revert to using Acrobat 5.0)? Thanks in advance!