+ Reply to Thread
Results 1 to 4 of 4

select different cell once "YES" is selected from a message box.

  1. #1
    Forum Contributor
    Join Date
    10-25-2016
    Location
    Derby, England
    MS-Off Ver
    MS 2013
    Posts
    228

    select different cell once "YES" is selected from a message box.

    Hi,

    I was wondering if anyone could help me please?

    A part of my VBA code brings up a message box once cell J is entered.

    Please Login or Register  to view this content.
    What I would like is if the operator selects "Yes" then the curser moves 4 cells to the right, selecting the comment box.
    If they select no then it just exits the message box.

    Hope this make sense.

    Kind Regards
    Dan

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: select different cell once "YES" is selected from a message box.

    Here is my take on it
    Please Login or Register  to view this content.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Contributor
    Join Date
    10-25-2016
    Location
    Derby, England
    MS-Off Ver
    MS 2013
    Posts
    228

    Re: select different cell once "YES" is selected from a message box.

    Hi Dflak,

    Apart from inserting a comment after moving right 4 spaces your code is perfect, thank you.

    I can see now that was because of my brief description. I've deleted that part and now it is just what I was after.

    So thank you again.

    Kind Regards

    Dan

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: select different cell once "YES" is selected from a message box.

    The comments was the good part for me I had to look that up! I'm glad it works out for you.

+ 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. Replies: 7
    Last Post: 11-10-2020, 01:55 PM
  2. [SOLVED] Message box with VBA when cell selected AND other cell equals "X"
    By 97hills in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2013, 10:42 AM
  3. MSoffice Outlook 2003 message to be saved in C dir with the file name "From" "Sent" "Sub"
    By shailendra0509 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2012, 01:32 AM
  4. Excel Message auto select "Yes"
    By t0m46 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2010, 05:41 AM
  5. Questionnaire sheet: Select "yes" or "no," and only one can be selected
    By bpatterson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2006, 06:10 PM
  6. if "a" selected from dropdown menu then show "K" in other cell
    By LEGALMATTERS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-13-2006, 01:10 PM
  7. Why Error Message "End Select without Select Case"?
    By GoFigure in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-08-2005, 08:30 PM
  8. [SOLVED] Error Message "Select method of worksheet class failed"
    By philc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-04-2005, 04:06 AM

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