+ Reply to Thread
Results 1 to 5 of 5

Highlight Rows on ONLY ACTIVE WORKBOOK

  1. #1
    Registered User
    Join Date
    10-29-2011
    Location
    Chicago, IL
    MS-Off Ver
    OFFICE PROSIONAL PULUS 2016
    Posts
    4

    Highlight Rows on ONLY ACTIVE WORKBOOK

    In order to make it easier to follow the important data when multiple workbooks are used, I employ the typical CF and Target.Calculate in VBA. Unfortunately, everytime I jump from one workbook to another, all of the open workbooks jump to their corresponding line and get highlighted. This defeats the purpose of using it. Does anyone have a workaround so that only the active workbook has the desired highlighted row, and not all of the workbooks moving to the same corresponding row?

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,481

    Re: Highlight Rows on ONLY ACTIVE WORKBOOK

    Change code to thisWorkbook
    "Presh Star Who has help you *For Add Reputation!! And mark case as Solve"

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,774

    Re: Highlight Rows on ONLY ACTIVE WORKBOOK

    Or, untested, but maybe insert, as the first line:
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    10-29-2011
    Location
    Chicago, IL
    MS-Off Ver
    OFFICE PROSIONAL PULUS 2016
    Posts
    4

    Re: Highlight Rows on ONLY ACTIVE WORKBOOK

    Quote Originally Posted by TMS View Post
    Or, untested, but maybe insert, as the first line:
    Please Login or Register  to view this content.
    Thanks, but it didn't stop the ghosting of the highlighting of the other open workbooks.

  5. #5
    Registered User
    Join Date
    10-29-2011
    Location
    Chicago, IL
    MS-Off Ver
    OFFICE PROSIONAL PULUS 2016
    Posts
    4

    Re: Highlight Rows on ONLY ACTIVE WORKBOOK

    Thanks for the reply, but it didn't work. Still highlight ghosting on all open workbooks that have the CF to highlight the active rows.

+ 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. Adding active rows from sheet to closed database-workbook
    By psjpsjpsjpsj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-13-2017, 02:54 PM
  2. Copy rows from one workbook to another only if certain columns are active
    By tharnden in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-22-2017, 10:15 PM
  3. [SOLVED] Code to detect previous active workbook instead of current active workbook
    By kosherboy in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-25-2014, 01:58 AM
  4. Replies: 20
    Last Post: 01-11-2014, 05:39 AM
  5. [SOLVED] Highlight active cell, un-highlight when no longer active?
    By cdterry in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-20-2013, 02:39 PM
  6. Highlight Active Row macro, and Bold the Active Cell
    By StudentTeacher in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2013, 07:43 PM
  7. Get number of rows in a active worksheet in a active workbook
    By tamahome90 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-26-2012, 09: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