|
-
Aug 16th, 2004, 07:36 AM
#1
Thread Starter
New Member
EXCEL Printout
Hi,
I'm normally in C++ at home, but a friend asked me to do him a favour and now I#m sitting here. He had a Work with some sheets. He will have some Controlls and a Submit button. Thats easy I got it. But now the problem:
If he press the submit button he will have a scan over the controls OK I got with TRUE or FALSE and if TRUE there should be a printout of a grafik ora defined printaerea.
The Object excel.worksheet.printout(..,..,..,) gives me no chance to define the aerea what is to print
Please help me anyone
thanks
Long John
-
Aug 16th, 2004, 07:38 AM
#2
Fanatic Member
...Let me just check... you want to set the print area?
If I am correct try this little trick: record macro, set print area, stop macro view VBa code this can now be edited into your code just before the printing section in what ever way you disire.
-
Aug 16th, 2004, 07:51 AM
#3
Thread Starter
New Member
OK,
thanks, the Makro idea was it!!
Last edited by LongJohnDa; Aug 16th, 2004 at 08:17 AM.
-
Aug 16th, 2004, 08:19 AM
#4
Thread Starter
New Member
Originally posted by Matt_T_hat
...Let me just check... you want to set the print area?
If I am correct try this little trick: record macro, set print area, stop macro view VBa code this can now be edited into your code just before the printing section in what ever way you disire.
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
|