Consulting

Results 1 to 6 of 6

Thread: Sleeper: Message Box Help

  1. #1
    VBAX Newbie
    Joined
    Jul 2005
    Posts
    2
    Location

    Sleeper: Message Box Help

    Can anyone help me? I need to create a message box that will pop up with "Please select a city" after a county is picked in column J. But if the selection in column C is NOT 01, then it should just put a "N/A" in the city column (Column K). I'm not very good at VBA and everything I've found has just made me a little more confused! Any help would be appreciated. Thanks! tnia

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Hi Deermat,
    Welcome to VBAX
    Can you post a copy of your file. If you zip it, you can then attach it by using the Go Advanced button below the message box and the Manage Attachments button on that screen.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Newbie
    Joined
    Jul 2005
    Posts
    2
    Location
    Thanks! I cut the spreadsheet down to just the columns I'm talking about. Any help you can give me would be great! Thanks! Tina

  4. #4
    Moderator VBAX Mentor sheeeng's Avatar
    Joined
    May 2005
    Location
    Kuala Lumpur
    Posts
    392
    Location
    Quote Originally Posted by deermat
    Can anyone help me? I need to create a message box that will pop up with "Please select a city" after a county is picked in column J. But if the selection in column C is NOT 01, then it should just put a "N/A" in the city column (Column K). I'm not very good at VBA and everything I've found has just made me a little more confused! Any help would be appreciated. Thanks! tnia
    Welcome to VBA Express!

    Could you be more specific on column J? It's empty.
    How is the country "picked"?

    Thanks.

  5. #5
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Hi Sheeeng,
    A couple of columns appear to have been removed. For J read G and for K read H. There is a lot going on in the background here, that I have not quite figured out!
    Regards
    MD
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  6. #6
    Moderator VBAX Mentor sheeeng's Avatar
    Joined
    May 2005
    Location
    Kuala Lumpur
    Posts
    392
    Location
    Quote Originally Posted by mdmackillop
    Hi Sheeeng,
    A couple of columns appear to have been removed. For J read G and for K read H. There is a lot going on in the background here, that I have not quite figured out!
    Regards
    MD
    Sorry for my ignorance....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •