+ Reply to Thread
Results 1 to 4 of 4

How do I create a print button?

  1. #1
    Dan
    Guest

    How do I create a print button?

    I am creating a spreadsheet for some unsophisticated users and would like to
    have them select a range and then just click on a "print" button. I assume I
    need to create a macro and embed it in the button. Could use some help with
    that, as well.

    Thanks!

  2. #2
    Nick
    Guest

    Re: How do I create a print button?

    Add this code to the button click event

    Selection.Printout

    this will print the currently selected cells on the active sheet.





    "Dan" <[email protected]> wrote in message
    news:[email protected]...
    >I am creating a spreadsheet for some unsophisticated users and would like
    >to
    > have them select a range and then just click on a "print" button. I
    > assume I
    > need to create a macro and embed it in the button. Could use some help
    > with
    > that, as well.
    >
    > Thanks!




  3. #3
    Don Guillett
    Guest

    Re: How do I create a print button?

    unsophisticated creators would do that

    sub printit
    range("a2:b22").printout
    end sub

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "Dan" <[email protected]> wrote in message
    news:[email protected]...
    > I am creating a spreadsheet for some unsophisticated users and would like

    to
    > have them select a range and then just click on a "print" button. I

    assume I
    > need to create a macro and embed it in the button. Could use some help

    with
    > that, as well.
    >
    > Thanks!




  4. #4
    Don Guillett
    Guest

    Re: How do I create a print button?

    unsophisticated responders such as me should have said what Nick said.

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "Don Guillett" <[email protected]> wrote in message
    news:%[email protected]...
    > unsophisticated creators would do that
    >
    > sub printit
    > range("a2:b22").printout
    > end sub
    >
    > --
    > Don Guillett
    > SalesAid Software
    > [email protected]
    > "Dan" <[email protected]> wrote in message
    > news:[email protected]...
    > > I am creating a spreadsheet for some unsophisticated users and would

    like
    > to
    > > have them select a range and then just click on a "print" button. I

    > assume I
    > > need to create a macro and embed it in the button. Could use some help

    > with
    > > that, as well.
    > >
    > > Thanks!

    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1