|
-
April 25th, 2001, 07:34 AM
#1
closing and printing an excel worksheet without saving changes
There is a program in Visual Basic that opens an exciting excel 97 worksheet and writes to it. I want my program to write to the excel worksheet print it and close the object without saving the changes. Write now the program opens the excel 97 worksheet, and I have to manualy close the program. And it asks whether to save the changes. So buy just clicking a button in VB, the program should
1) write to the excel worksheet
2) print the worksheet to printer
3) close the worksheet without saving changes.
How do I do this?
Thank You!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|