I'm struggling with something that should be oh so easy.
I want to test, using vba, if the formula in a cell references another worksheet (the code later depends on following a reference).
I have so far:
if Sheets("Week 2").range("D17").formula like "='*'!" then
Code here
else
failure code
end if
Ultimately, I want it to be sheets(sheetname).cells(row, col)
Thanks
Chris
I want to test, using vba, if the formula in a cell references another worksheet (the code later depends on following a reference).
I have so far:
if Sheets("Week 2").range("D17").formula like "='*'!" then
Code here
else
failure code
end if
Ultimately, I want it to be sheets(sheetname).cells(row, col)
Thanks
Chris