How to print and save contents of a text box

jriano

Registered User.
Local time
Today, 07:33
Joined
Dec 9, 2003
Messages
45
I created a form in access VBA that sends emails to our clients every month. The form has a textbox that shows the list of all the recipients to which the email was sent. ( a small report). I would like to be able to print that report and save it to a file as a plain .txt file. Could you guide me in how to accomplish that? Thanks
 
Last edited:
jriano,

Open "C:\SomeFile.txt" For Output As #1
Print #1, Me.YourTextBox
Close #1

Wayne
 

Users who are viewing this thread

Back
Top Bottom