Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Got it !!
Tks, Jim "Tom Ogilvy" wrote: iserror test for an error, but use the vba Instr for this If Instr(1,str1,"!",vbTextcompare) = 0 Then Exit Sub -- Regards, Tom Ogilvy "Jim May" wrote: .... Omission of lines str1 = Right(Target.Formula, Len(Target.Formula) - 1) If WorksheetFunction.Find("!", str1) = Err Then Exit Sub << Not Right !! line 2 above tests for - If the formula str1 DOES NOT refer to another Sheet (with !) then exit Sub But what is (Right)? TIA, Jim |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumproduct() usage | Excel Discussion (Misc queries) | |||
limited usage | Excel Discussion (Misc queries) | |||
100% cpu usage | Excel Discussion (Misc queries) | |||
SQL - TOP 1 Usage | Excel Programming | |||
CopyFile usage | Excel Programming |