How to link cell format from a closed workbook.
I'm trying to set up a display workbook that will automatically refresh itself every thirty seconds to display data entered in a master workbook that is located on the network but closed 90 percent of the time.
I've got it updating the cell data with no problems. My problem is now my customer wants to match the cell formatting from the master sheet; specifically the cell fill (CELL.interior.colorindex)
There is no way to link cell formatting, nor any way to do it in a formula, so I'm working on some VBA code to make it happen. I'm having no luck reading back the interior.colorindex property from a closed workbook. I can read it back when the workbook is open, but not when it's closed.
I'm currently brute-forcing it by creating a sheet in my linked file that has only the color values, then linking those values to a sheet in my display workbook and setting the colors on my display sheet using the cell values in the sheet with the color values.
Is that confusing enough?
Is there a more elegant way to do this?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By matt323 in forum Excel Formulas & Functions
Last Post: 01-06-2014, 05:02 AM
By smirker in forum Excel Programming / VBA / Macros
Last Post: 05-23-2013, 08:07 AM
By CW2013-work in forum Excel Formulas & Functions
Last Post: 04-19-2013, 07:10 PM
By bangelta in forum Excel General
Last Post: 10-25-2012, 02:53 PM
By merrener in forum Excel Programming / VBA / Macros
Last Post: 08-24-2012, 03:14 AM
Search Engine Friendly URLs by vBSEO 3.6.0 RC 1