+ Reply to Thread
Results 1 to 8 of 8

MACRO: If user clicks cancel in inputbox,then do nothing. Problem with inputbox appearance

  1. #1
    Forum Contributor
    Join Date
    10-17-2014
    Location
    EU
    MS-Off Ver
    2013
    Posts
    114

    MACRO: If user clicks cancel in inputbox,then do nothing. Problem with inputbox appearance

    I have problems with the RED part. Wanted to achieve: if the user leaves inputbox empty macro doesn't do anything. Now it shows me inputbox twice!

    Any help?

    Please Login or Register  to view this content.
    Last edited by Tona; 11-05-2015 at 04:24 AM.

  2. #2
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: MACRO: If user leaves inputbox empty, then do nothing. Problem with inputbox appearanc

    may be

    Please Login or Register  to view this content.
    Don`t care, take care...

    Regards,
    Mangesh

  3. #3
    Forum Contributor
    Join Date
    10-17-2014
    Location
    EU
    MS-Off Ver
    2013
    Posts
    114

    Re: MACRO: If user leaves inputbox empty, then do nothing. Problem with inputbox appearanc

    Still, the inputbox appears two times, although I input criteria into first one..

  4. #4
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: MACRO: If user clicks cancel in inputbox,then do nothing. Problem with inputbox appear

    I thought its part of coding

    try this

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    10-17-2014
    Location
    EU
    MS-Off Ver
    2013
    Posts
    114

    Re: MACRO: If user clicks cancel in inputbox,then do nothing. Problem with inputbox appear

    Strange. Now after I type in the criteria macro executes the operation and at the end the MsgBox appears "That project was not found.", although it's there.

  6. #6
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: MACRO: If user leaves inputbox empty, then do nothing. Problem with inputbox appearanc

    sorry for inconvenience I didnt check....

    Now corrected
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    10-17-2014
    Location
    EU
    MS-Off Ver
    2013
    Posts
    114

    Re: MACRO: If user clicks cancel in inputbox,then do nothing. Problem with inputbox appear

    No worries, I've corrected it as well.

    I appreciate your help!

  8. #8
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: MACRO: If user clicks cancel in inputbox,then do nothing. Problem with inputbox appear

    Great .... Thanks for reputation..

+ 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. Loop workbooks and list out to user via inputbox for user to choose
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2015, 03:04 PM
  2. [SOLVED] Repeat Inputbox if user click cancel or if user enter character not in selection criteria
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-24-2014, 02:44 AM
  3. [SOLVED] If inputbox = false then repeat inputbox
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-28-2013, 01:27 PM
  4. InputBox-ow to have a user input text in a inputbox
    By noodle48 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2011, 08:17 AM
  5. Screen positioning inputbox that is set as Application.InputBox
    By vdongen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2010, 07:59 AM
  6. How to built in end macro if user cancels InputBox?
    By vdongen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-05-2010, 02:41 AM
  7. Inputbox button control + msgbox for empty inputbox
    By D_Rennie in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-30-2009, 12:39 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