+ Reply to Thread
Results 1 to 3 of 3

Msg boxes for printing a report

  1. #1
    Forum Contributor MariaPap's Avatar
    Join Date
    10-19-2013
    Location
    Chania-Crete-Greece
    MS-Off Ver
    Excel 2003-2010
    Posts
    319

    Msg boxes for printing a report

    Hello

    Mr Fotis offered to me this code in this thread, for printing a report without blank rows.

    Please Login or Register  to view this content.
    I'd like your help to do this.

    When the user click on the button a msg box should appears asking: "Are you sure?". If the answer is no, then exit sub. If the answer is YES, then another msgbox shouls appears again asking."I'll print the range. Are you sure? If the answer is NO then exit sub. If YES then run the above code.

    Can you pls help me on this?

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Msg boxes for printing a report

    Try:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor MariaPap's Avatar
    Join Date
    10-19-2013
    Location
    Chania-Crete-Greece
    MS-Off Ver
    Excel 2003-2010
    Posts
    319

    Re: Msg boxes for printing a report

    This works great. Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 11-26-2012, 09:17 AM
  2. Shading Boxes (white/black) in a Report
    By cmf0106 in forum Excel General
    Replies: 2
    Last Post: 11-20-2009, 10:36 AM
  3. Migrating text boxes in a report
    By my5boyz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-27-2009, 06:51 PM
  4. Printing a Report
    By sue74 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2005, 05:13 PM

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