Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Sep 2003
    Location
    London, Gtr London, United Kingdom
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Printing worksheets (E2000)

    I am sure that there is a simple answer to this but I have tried MS help by typing in 'print button' or 'print worksheet' (all I want is a button to print the active worksheet) and also in the forum search but I can't seem to get anything that seems that simple, perhaps I am asking the wrong question as usual.

    I tried to adapt something that HansV replied to in <post#=305250>post 305250</post#> but all I could get to work was the dialog box that HansV described (very nice).

    Simply put how do I code a button that when pressed prints the active worksheet on the active printer

    TIA

    Stephen

  2. #2
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Printing worksheets (E2000)

    Hi,
    Try:
    <pre>activesheet.printout</pre>

    Hope that helps.
    Regards,
    Rory

    Microsoft MVP - Excel

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Printing worksheets (E2000)

    Isn't that what the button shown below on the standard toolbar does?
    Legare Coleman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •