+ Reply to Thread
Results 1 to 3 of 3

Needing to skip cells, and i'm guessing it will take VBA to do it

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Tyler, Texas
    MS-Off Ver
    Excel 2010
    Posts
    2

    Needing to skip cells, and i'm guessing it will take VBA to do it

    Hi everyone!

    I have a worksheet in which, if a certain value is inputted into cells in D2 and on down the column, then the corresponding cells in Column E and F get greyed out. Is there a code that can say "When this happens, the cursor automatically moves from the current cell to the corresponding cell in Column G?

    I have seen something similar on here about that, but I am just not comfortable enough with VBA to even attempt to modify it for what I need.

    Thank you all so much!!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Needing to skip cells, and i'm guessing it will take VBA to do it

    There is code to do what you want but it is quite complex. So to avoid any confusion. Is the fact that E & F get greyed out significant?

    If there a possibility that you enter something in D 2 and E2 and F2 are not greyed out? What happens then?


    I the Interim Paste this code into a Normal Macro module. It is used to declare a Global Variable

    Please Login or Register  to view this content.
    Then Right Click on your sheet name at the bottom of excel and select view code.

    Paste this code into the module that opens and then close the module.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 03-11-2020 at 08:39 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    04-09-2013
    Location
    Tyler, Texas
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Needing to skip cells, and i'm guessing it will take VBA to do it

    Oh...yes, there is an instance where it would not be greyed out. The cells in E and F would only be greyed out if the cells in D specify "N/A". Otherwise, they would not be greyed out, as there would need to be data in there. Is that just too crazy for me to think that can be handled?

+ 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. [SOLVED] Auto-update values (guessing, IF formula...)
    By vill in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-02-2017, 08:16 AM
  2. [SOLVED] Gift Giving guessing game point accumulation help
    By nickmax1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-29-2015, 01:40 PM
  3. How to design a simple guessing game, played by one player against the computer.
    By Papsco in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-06-2015, 10:40 PM
  4. Replies: 1
    Last Post: 09-17-2014, 06:00 AM
  5. Guessing numbers
    By Roadhog03 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-05-2014, 12:35 PM
  6. Filtering (I'm guessing)
    By Filtering (I'm guessing) in forum Excel General
    Replies: 4
    Last Post: 05-15-2006, 02:50 PM
  7. [SOLVED] VLOOKUP needing to match two cells
    By Liz Steffen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-10-2006, 01:20 PM

Tags for this Thread

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