+ Reply to Thread
Results 1 to 2 of 2

pop up msgbox to add extra rows Excel 2007

  1. #1
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    pop up msgbox to add extra rows Excel 2007

    Good morning all,
    I’m trying to figure out a code to do the following:

    If user select “SO” from a validation list in column Q then open a msg box that will let the user insert a number in a field and when the user select “Ok” then it will add rows based on the users number input.

    But it needs to be off from 1, meaning that if the user adds 001, 01, or 1 in the pop up box then do nothing. But if the user adds 002,02 or 2 it will add one row.

    Example:
    If “SO” is selected from column Q then,
    Msgbox: “Insert the number of SO to continue”

    USER: adds 003, 03 or 3 then (ok button)

    VB: Adds 2 extra row “below” the selected row.

    If “no” is selected from the msgbox then do nothing.

    Where do I start or when could I get web info, I’ve looked but nothing to my request.
    Thank you.

  2. #2
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: pop up msgbox to add extra rows Excel 2007

    http://www.excelforum.com/excel-prog...ell-value.html

    this explain what I need but with a -1 but i'm not to sure where to add it.

    Please Login or Register  to view this content.
    Last edited by Excelnoub; 11-29-2012 at 03:06 PM.

+ 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