Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello. I am trying to write code that will scan every sheet within a
workbook and shade each cell that has a link to an external file (ie .xls)? I am only concerned about cells, not named ranges, pictures, etc... Thanks! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ActiveSheet.UsedRange.Interior.ColorIndex = xlNone
for each cell in Activesheet.UsedRange.SpecialCells(xlFormulas) if instr(1,cell.Formula,"[",vbTextcompare) Then cell.Interior.ColorIndex = 3 end if Next -- Regards, Tom Ogilvy "Steph" wrote in message ... Hello. I am trying to write code that will scan every sheet within a workbook and shade each cell that has a link to an external file (ie ..xls)? I am only concerned about cells, not named ranges, pictures, etc... Thanks! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom!
"Tom Ogilvy" wrote in message ... ActiveSheet.UsedRange.Interior.ColorIndex = xlNone for each cell in Activesheet.UsedRange.SpecialCells(xlFormulas) if instr(1,cell.Formula,"[",vbTextcompare) Then cell.Interior.ColorIndex = 3 end if Next -- Regards, Tom Ogilvy "Steph" wrote in message ... Hello. I am trying to write code that will scan every sheet within a workbook and shade each cell that has a link to an external file (ie .xls)? I am only concerned about cells, not named ranges, pictures, etc... Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
shade one cell that will shade multiple cells | Excel Discussion (Misc queries) | |||
how do I break links to external workbooks en masse? | Excel Discussion (Misc queries) | |||
how do I activate links without opening external workbooks? | Excel Discussion (Misc queries) | |||
Find cells with external links | Links and Linking in Excel | |||
Identifying cells with external links using VBA | Excel Programming |