Export Report to HTML

Gerrit.B

Board Regular
Joined
Aug 10, 2004
Messages
237
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
Is it possible to export a access report to html with getting several pages for longer reports.
If possible i would like to keep existing images and lay-out in this report.

Is this possible using vba?

G.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Is it possible to export a access report to html with getting several pages for longer reports.
If possible i would like to keep existing images and lay-out in this report.

Is this possible using vba?

G.

What have you tried so far?
 
Upvote 0
So far i Googled a couple of days on several forums.
A lot of people are trying and asking the same but no one gets a answer.

Regards,

G.
 
Upvote 0
Isn't there an option to export as HTML?

No idea how successful it might be but it's definitely there.:)
 
Upvote 0
So far i Googled a couple of days on several forums.
A lot of people are trying and asking the same but no one gets a answer.

Regards,

G.

Try modifying this with your own "ReportName" and "OutputFileName"
Code:
DoCmd.OutputTo acOutputReport, "ReportName", acFormatHTML, "OutputFileName.htm"
Good luck.

jack
 
Upvote 0
Jack,

I tried your method, and it works, it converts my report to htm.
Still 2 issues:
* All images in report are lost.
* Got several pages output instead of 1 long page.

I made a mistake in my first post and typed "with" instead of "without" several pages.

Regards,

G.
 
Upvote 0
Jack,

I tried your method, and it works, it converts my report to htm.
Still 2 issues:
* All images in report are lost.
* Got several pages output instead of 1 long page.

I made a mistake in my first post and typed "with" instead of "without" several pages.

Regards,

G.

sir in Access 2010, report can be exported as ".html"
 
Upvote 0
Jack,

I tried your method, and it works, it converts my report to htm.
Still 2 issues:
* All images in report are lost.
* Got several pages output instead of 1 long page.

I made a mistake in my first post and typed "with" instead of "without" several pages.

Regards,

G.
I would generally use PDF instead. Highly formatted reports don't convert to HTML easily.
The alternative is to build your own page via a template, but that is probably more work than you want to do.

Denis
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,994
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top