+ Reply to Thread
Results 1 to 7 of 7

Print Button Macro

  1. #1
    Registered User
    Join Date
    09-04-2010
    Location
    North Wales
    MS-Off Ver
    Excel 2007
    Posts
    31

    Print Button Macro

    Hello

    Am after abit of help.

    I need to make a print button on my excel sheet but i dont know how to do it. i need to be able to print A1 to G5 for example. how would i go about doing that?

    Thanks for your help

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Print Button Macro

    If you know how to create a button, this bit of code should do the trick
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-04-2010
    Location
    North Wales
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Print Button Macro

    i have done that but when i click on the button nothing happens? what could be wrong?

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Print Button Macro

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    Attach the one that you have the button in

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    09-04-2010
    Location
    North Wales
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Print Button Macro

    sorry to reply a few months later. i manged to get that to work thank you very much.

    What is the code to pop up to ask how many copies when i click the button?

    Thanks
    Dave

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Print Button Macro

    Hi dave,

    What did you do to get it to work

  7. #7
    Registered User
    Join Date
    09-04-2010
    Location
    North Wales
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Print Button Macro

    Quote Originally Posted by davesexcel View Post
    If you know how to create a button, this bit of code should do the trick
    Please Login or Register  to view this content.

    I ended up trying it again after a few months and it just worked. i think i was putting it in the wrong place or doing it wrong

+ 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