+ Reply to Thread
Results 1 to 5 of 5

Need VBA code to change color of cells with external links

  1. #1
    Registered User
    Join Date
    07-31-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    3

    Need VBA code to change color of cells with external links

    How do I create a VBA code that selects all of the cells in a workbook that contain external links and changes the font of those cells to green?

  2. #2
    Registered User
    Join Date
    05-14-2013
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2003/2010
    Posts
    17

    Re: Need VBA code to change color of cells with external links

    First, how are the cells formatted? with =HYPERLINK? Are all your external links http?

  3. #3
    Registered User
    Join Date
    07-31-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Need VBA code to change color of cells with external links

    No hyperlinks. Just regular formulas that reference external workbooks. I need a macro that loops through each sheet in my workbook to find the external formulas and change the color of those cells.

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Need VBA code to change color of cells with external links

    try this see if works

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-31-2013
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Need VBA code to change color of cells with external links

    No That doesn't do anything. That code seems to be looking for Hyperlinks and theer are no Hyperlinks in my workbook... also I don't see where it is changing the cell color anywhere in the code.

+ 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. External links: Change source simplification?
    By Eldacan in forum Excel General
    Replies: 10
    Last Post: 08-08-2013, 07:27 AM
  2. Code to change color and value in calendar cells based on selected dates
    By John74 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2010, 02:01 PM
  3. Replies: 0
    Last Post: 12-07-2008, 01:25 PM
  4. Find and change external links to point to the same workbook instead
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2005, 02:05 PM
  5. [SOLVED] How to code so cells or text automatically change color based on .
    By lisamariehewson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2005, 07:06 PM

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