+ Reply to Thread
Results 1 to 3 of 3

Select Wrong Show Msg.

  1. #1
    Forum Contributor
    Join Date
    09-22-2007
    Posts
    119

    Select Wrong Show Msg.

    Hi, Happy new year2008
    my case can do by any way...
    my excel file sheetname "sale" . when user key the value or text in cell E5,A6,A7 but cell E46 and F46 have no value . let it show the msg. " your select or key wrong "

    IF USER KEY OR SELECT IN CELL E5,A6,A7 AND CELL E46,F46 SHOW VALUE NOT SHOW ANY MSG.

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    You can use cell validation for this.

    Select cell E5 and set Cell Validation to Custom with the Formula

    =AND(NOT(ISBLANK($E$46)),NOT(ISBLANK($F$46)))

    the Ignore Blanks check-box should be un-Checked.

    The message to be displayed can be controlled by one of the tabs.

    Copy / PasteSpecial Validation can move this to A6 & A7.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Contributor
    Join Date
    09-22-2007
    Posts
    119
    Thank,
    I Can Not Do It E5 Now Is For Selected With The Validation List
    So I Can Not Put Your Code In
    How Can Another Code, As The Vba Code To Show Pop Up With The Msg Box.
    Last edited by VBA Noob; 12-30-2007 at 05:07 AM.

+ 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