I have two questions for you. The person who gets both of them will get the points.
First question :-
My program needs to be able to output to the printer and the screen. Rather then writing two sets of code can I put a pointer to a device and output to that?
If output type = screen
Elseif output type = printer
If output = screen then device = screen
If output = printer then device = printer
Second question :-
I am outputing data to an MSFlexGrid control. I need to be able to copy this data to the clipboard and paste into Excel.
How do I do this (code or otherwise)