Existing Report SaveAs HTML

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can I save a Report - (Without opening it) in HTML format?
What is the code to do so?
I have 200 reports which I wish to perform this on.
Figured with the code I could Loop through the reports collection
and acheive..
any help appreciated.
 
Hi Jim

Should be possible with something like this:

Dim dbD As DAO.Database
Dim Doc As DAO.Document

Set dbD = CurrentDB
For Each Doc In dbD.Containers("Reports").Documents
DoCmd.OutputTo acOutputReport, Doc.Name, acFormatHTML, ....
Next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top