export as snapshot

L

LGarcia

Hi all,
I have a report that I need to export as a snapshot. Is it possible to use a
macro or code to have this happen? I would like the user to only have to
choose the destination and give it a new name.
TIA,
LGarcia
 
D

David Aylott

Try something like this:

Dim strRpt As String 'name of Access report
Dim strSnap As String 'path & name of snapshot report

DoCmd.OutputTo acOutputReport, strRpt, "Snapshot Format", strSnap,
True


LGarcia said:
Hi all,
I have a report that I need to export as a snapshot. Is it possible to use a
macro or code to have this happen? I would like the user to only have to
choose the destination and give it a new name.


,-._|\ David Aylott (Author of Access Version Checking utility)
/ Oz \ (e-mail address removed) (Melbourne, Australia)
\_,--.x/ Shareware, FAQ, hints & tips at:
v http://www.aylott.com.au/
 

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

Similar Threads

Export separate snapshots 1
Problem exporting report as snapshot 2
Export to Snapshot 1
Naming An Email Snapshot 3
Snapshot Files 2
Tick in snapshot 2
A Tick in Snapshot 3
How to hide status screen from export 2

Top