R
Rich Wood
I have an excel spreadsheet that links to an RTD server. I hide some of the
RTD arguments using a VBA function. One of the cells has a conditional
formatting statement that uses a link to the RTD server via the function. It
works fine on client machines (right now), but on the development machine
when I open the spreadsheet and enable macros, it gives me a message box that
says "Catastrophic Error Automation Error" and then brings up the debugger.
If I enter "Err" in the immediate window it says that there was a compiler
error.
The function that makes the RTD call looks like this:
Function PCQ(symbol As String, field As String)
PCQ = Excel.Application.WorksheetFunction.RTD("PCQ.Preferred", "",
symbol, field)
End Function
The conditional formatting statement looks like this:
=PCQ($A11, B$1)="NA"
Thanks in advance for the help.
RTD arguments using a VBA function. One of the cells has a conditional
formatting statement that uses a link to the RTD server via the function. It
works fine on client machines (right now), but on the development machine
when I open the spreadsheet and enable macros, it gives me a message box that
says "Catastrophic Error Automation Error" and then brings up the debugger.
If I enter "Err" in the immediate window it says that there was a compiler
error.
The function that makes the RTD call looks like this:
Function PCQ(symbol As String, field As String)
PCQ = Excel.Application.WorksheetFunction.RTD("PCQ.Preferred", "",
symbol, field)
End Function
The conditional formatting statement looks like this:
=PCQ($A11, B$1)="NA"
Thanks in advance for the help.