+ Reply to Thread
Results 1 to 5 of 5

Two Noob VBA Questions on Message Boxes

  1. #1
    Forum Contributor
    Join Date
    12-30-2009
    Location
    US
    MS-Off Ver
    Excel 2003, 2010, 2016, 2019, & Office 365
    Posts
    194

    Two Noob VBA Questions on Message Boxes

    I'm not a VBA pro, but I'm sure this is a pretty simple question.

    I am building a simple wizard tool.
    How can I take the code below and do two things:

    1. I want to ask, how many changes will be made?, The user can then type 7, and the code will run 7 times, but the values will be one row lower so they don't override data.
    2. If the user decides to cancel, I want the whole thing to cancel, so you don't have to cancel each message box.

    Please Login or Register  to view this content.
    Last edited by Rick-O-Shay; 07-02-2020 at 12:26 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Two Noob VBA Questions on Message Boxes

    What happen if the user cancel at the 3rd (of 7 times)? Keep the values of 1st and 2nd or cancel them?

  3. #3
    Forum Contributor
    Join Date
    12-30-2009
    Location
    US
    MS-Off Ver
    Excel 2003, 2010, 2016, 2019, & Office 365
    Posts
    194

    Re: Two Noob VBA Questions on Message Boxes

    Hi,

    Keep what they have, but stop from there.

  4. #4
    Valued Forum Contributor
    Join Date
    12-14-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2007
    Posts
    439

    Re: Two Noob VBA Questions on Message Boxes

    Try this
    Please Login or Register  to view this content.
    ❖ Please mark your thread is SOLVED if there has been offered a solution that works fine for you.

    ❖ If you like solutions provided by anyone, feel free to add reputation by clicking on ✶ Add Reputation bottom left of their posts.

  5. #5
    Forum Contributor
    Join Date
    12-30-2009
    Location
    US
    MS-Off Ver
    Excel 2003, 2010, 2016, 2019, & Office 365
    Posts
    194

    Re: Two Noob VBA Questions on Message Boxes

    Awesome man, thanks so much!

+ 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. Excel 2007 versus 2010 VBA message boxes and Dialog boxes look different
    By Melanie Sparr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2019, 10:24 AM
  2. Message boxes
    By kieranm105 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-09-2017, 06:42 AM
  3. ***Combined Message box for all questions***
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-21-2015, 05:08 AM
  4. Drop down boxes triggering specific questions
    By Claires in forum Excel General
    Replies: 2
    Last Post: 09-22-2011, 02:13 PM
  5. More questions re: option boxes
    By diddlydudette in forum Excel General
    Replies: 0
    Last Post: 01-24-2007, 11:21 AM
  6. [SOLVED] Questions on combo boxes and list boxes.
    By Marc in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-14-2006, 05:45 AM
  7. Two Quick Questions: Calling Subs & Text Input boxes
    By ph8 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-29-2005, 10:25 AM

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