Results 1 to 4 of 4

Thread: EXCEL Printout

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Location
    Austria
    Posts
    3

    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

  2. #2
    Fanatic Member Matt_T_hat's Avatar
    Join Date
    Dec 2001
    Location
    '76 Male Body Evil-Errors: 666
    Posts
    774
    ...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.
    ?
    'What's this bit for anyway?
    For Jono

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Location
    Austria
    Posts
    3
    OK,
    thanks, the Makro idea was it!!
    Last edited by LongJohnDa; Aug 16th, 2004 at 08:17 AM.

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2004
    Location
    Austria
    Posts
    3
    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
  •  



Click Here to Expand Forum to Full Width