+ Reply to Thread
Results 1 to 5 of 5

How To and What... code to enter into VisuaBasic Module to highlight active row/column '07

  1. #1
    Registered User
    Join Date
    03-20-2014
    Location
    4863243
    MS-Off Ver
    Excel 2007
    Posts
    2

    Red face How To and What... code to enter into VisuaBasic Module to highlight active row/column '07

    Good Afternoon! I am working on Excel 2007... and I have approximately 2,000+ rows of data. I've been looking around for a way to have the row/column highlighted yellow of the cell I'm currently typing in... and then when I move on to the next highlight those and return the previous cells to the way they were before and highlight the new row/column of the cell selected highlighted yellow. I am not necessarily an excel novice however I've not ever used Visual Basic and am having a hard time getting other codes I've found via my search to run properly. Does anyone have a code I could use? ... and along with that tips/steps on how to get it to run?

    SO MANY THANKS IN ADVANCE!!

  2. #2
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    163

    Re: How To and What... code to enter into VisuaBasic Module to highlight active row/column

    Hi

    Check, if this code meets your requirements:

    Please Login or Register  to view this content.
    Disclosure: this is not my code, I just found it on an excel forum website, but I don't remember which one and who is the author of this code.

  3. #3
    Registered User
    Join Date
    04-29-2013
    Location
    Ontario, Canada
    MS-Off Ver
    MS Office 2010
    Posts
    80

    Re: How To and What... code to enter into VisuaBasic Module to highlight active row/column

    Hi,

    Here is what you can use:

    Please Login or Register  to view this content.
    Draconi

  4. #4
    Registered User
    Join Date
    04-29-2013
    Location
    Ontario, Canada
    MS-Off Ver
    MS Office 2010
    Posts
    80

    Re: How To and What... code to enter into VisuaBasic Module to highlight active row/column

    The code will run automatically every time you select a new cell. Here is how you can make it work:

    1) ALT + F11
    2) Double Click "ThisWorkbook"
    3) CTRL + S
    4) Save as: Excel Macro-Enabled Workbook (.xlsm)

  5. #5
    Registered User
    Join Date
    03-20-2014
    Location
    4863243
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How To and What... code to enter into VisuaBasic Module to highlight active row/column

    thank you so much! my only remaining question would be ... is there a code that works with cells that are already colored? thus returning them to the original color after I've moved on to the next?

    I really appreciate all of the help - thanks so much!

+ 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: 2
    Last Post: 03-27-2014, 09:16 AM
  2. Replies: 0
    Last Post: 03-08-2014, 08:02 AM
  3. [SOLVED] Highlight Active Row and Column.
    By yatin1964 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2013, 06:47 AM
  4. Using code to highlight active row. Can I toggle on/off on the fly?
    By Pete123abc in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-08-2011, 01:34 PM
  5. [SOLVED] How to highlight active row and column?
    By Ricktaxx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2005, 01:06 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