+ Reply to Thread
Results 1 to 6 of 6

Macro Help (IF A1 = Yes goto cell b100...)

  1. #1
    Registered User
    Join Date
    01-19-2010
    Location
    USA - Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    12

    Macro Help (IF A1 = Yes goto cell b100...)

    I want to write a simple macro that does the following.

    If cell A1 = YES goto cell A1000
    If cell A1 = NO goto cell B1000
    If cell A1 = MAYBE goto cell C1000


    I will have the 3 options available via a combobox

    Thanks for helping.....

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

    Re: Macro Help (IF A1 = Yes goto cell b100...)

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Macro Help (IF A1 = Yes goto cell b100...)

    Your post does not comply with Rule 8 of our Forum RULES.
    Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere.
    We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.
    Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!

  4. #4
    Registered User
    Join Date
    01-19-2010
    Location
    USA - Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Macro Help (IF A1 = Yes goto cell b100...)

    Got the answer from another site... This seemed to work....

    I created a combo box that drops down a selection... and used the below code.....

    Please Login or Register  to view this content.
    The 1-15 tags can be labled any way you wish via your combobox defined list.....
    When selected it will add a 1-15 into a cell of your choosing....
    Last edited by DonkeyOte; 01-19-2010 at 06:16 PM.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Macro Help (IF A1 = Yes goto cell b100...)

    Quote Originally Posted by non5555121
    Got the answer from another site...,
    Thank you for posting your resolution (this will benefit others) but note that this is the entire point behind posting links to threads you've created on other boards.

    People both here & there (MrExcel.com) post in their free time and at no cost.
    Please take this fact into consideration and do not abuse their kindness by having them work on something unaware that it might already have been resolved elsewhere.

    On a final note please endeavour to use CODE tags around your VBA... as this is your first visit I have done this for you.

    Should you post on this board in future (we hope you do) please ensure you take the time to familiarise yourself with the Rules of the Forum before posting again.

  6. #6
    Forum Contributor
    Join Date
    07-17-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    218

    Re: Macro Help (IF A1 = Yes goto cell b100...)

    Hi, can anyone create a sample Excel with this combo box? I'd like to create something similar and am not sure how to do it. I've searched and could not find out how to do it.

+ 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