-1

I am working on a spreadsheet that is pulling a lot of data from Capital IQ (CIQ). I would like to hardcode all these formulas. If somebody that doesn't have the CIQ plugin tries to look at the spreadsheet, all they see is #name and #value. I don't want to hardcode all the cells since some of them are useful to see how they are linked to other tabs. I am looking to hardcode only the cells that contain a CIQ formula. Thank you for your help! Miha

Community
  • 1
  • 1

1 Answers1

1

Untested from mobile

Sub find()
     Dim c as range
     For each c in range(“A1:B100”).Cells
        On Error Resume Next
        If application.worksheetFunction. Search(c.value,”CIQ”) > 0 then c = c.value
     Next c
End sub 
Dude_Scott
  • 641
  • 5
  • 9