+ Reply to Thread
Results 1 to 9 of 9

Input Box repeatedly pops up

  1. #1
    Registered User
    Join Date
    09-26-2014
    Location
    Seattle, WA
    MS-Off Ver
    2010
    Posts
    5

    Question Input Box repeatedly pops up

    Hi All, I think I'm close to getting this code right - but the input box repeatedly pops up, and I need further code to stop the repetition after a user enters a value.

    Basically - I am looking for an input box to pop up if a user inputs any value greater than 0 in cell A1, the input box then asks "Please enter the number of days you will be visiting this week" and inputs the value into A2. Thanks in advance for the help, I'm love learning this stuff and am pretty new.

    Please Login or Register  to view this content.
    Last edited by jmrwd3; 10-01-2014 at 05:30 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: Hopefully an easy Input Box question...

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.


    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    09-26-2014
    Location
    Seattle, WA
    MS-Off Ver
    2010
    Posts
    5

    Re: Hopefully an easy Input Box question...

    I believe I have fixed my posting errors, I apologize for that.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Input Box repeatedly pops up

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  5. #5
    Registered User
    Join Date
    09-26-2014
    Location
    Seattle, WA
    MS-Off Ver
    2010
    Posts
    5

    Re: Input Box repeatedly pops up

    Hi all, I do have one additional question - I was hoping to use this code for an additional input box fed from cell A20. I copied the code in 2x, but only the first case calls the input box. Is there perhaps an easy fix for this? Thank you again, this resource is great!

    Please Login or Register  to view this content.

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Input Box repeatedly pops up

    You can just add A20 to the range being checked in the If statement.
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-26-2014
    Location
    Seattle, WA
    MS-Off Ver
    2010
    Posts
    5

    Re: Input Box repeatedly pops up

    Is there a way to incorporate a secondary message box for cell A20, I'll need that one to read "Please enter the number of activities you will be planning"

  8. #8
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Input Box repeatedly pops up

    Oops, didn't see the message boxes were different.

    Try this.
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    09-26-2014
    Location
    Seattle, WA
    MS-Off Ver
    2010
    Posts
    5

    Re: Input Box repeatedly pops up

    THANK YOU SO MUCH!!! Exactly what I needed!

+ 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. Easy Question i think
    By JJJJJJJJJJ in forum Excel General
    Replies: 2
    Last Post: 09-08-2008, 06:43 PM
  2. Easy Question
    By ScottyNM in forum Excel General
    Replies: 6
    Last Post: 12-22-2006, 02:58 AM
  3. [SOLVED] An easy question... Maybe?
    By Lydon Bergin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2006, 01:15 PM
  4. new user with easy question? not easy for me
    By speakeztruth in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 06-03-2005, 05:05 PM
  5. easy question .... i think
    By Dean in forum Excel General
    Replies: 1
    Last Post: 01-06-2005, 03:06 PM

Tags for this Thread

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