GopherUK
Active Member
- Joined
- Jan 23, 2009
- Messages
- 473
Hi,
I am looking for some help here as I am kinda stumped as to what is causing the problem here.
I am using 2007 and I have several sheets with tables in the. In the last field in each table, there is a drop-down list to select how the information in that row will be processed.
I originally used this sort of range reference: -
Everything worked fine. However, to make things a but more accurate, I added this type of thing: -
Using this function: -
The problem now is that it is triggering the desired macro twice. Nothing else is different at all - it just simply seems to do this when the InRange function is used to identify the cell as belonging to the desired range.
Does anybody have any idea what might be causing this?
I am looking for some help here as I am kinda stumped as to what is causing the problem here.
I am using 2007 and I have several sheets with tables in the. In the last field in each table, there is a drop-down list to select how the information in that row will be processed.
I originally used this sort of range reference: -
PHP:
if target.column = 17 And activecell.offset(0,-1) = "processrange"
PHP:
If InRange(ActiveCell, Range("TransactionLog[REPROCESS]")) Then...
PHP:
Public Function InRange(Range1 As Range, Range2 As Range) As Boolean
Dim InterSectRange As Range
Set InterSectRange = Application.Intersect(Range1, Range2)
InRange = Not InterSectRange Is Nothing
Set InterSectRange = Nothing
End Function
Does anybody have any idea what might be causing this?