There is a program in Visual Basic that opens an 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!
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!