keiranwyllie
New Member
- Joined
- May 12, 2017
- Messages
- 47
Hi all,
Is there a catch to using Target.Cells.Count >1?
I understand there's some issues around vba and merged cells and this piece of code can be used to ignore merged cells.
Is there a way to use this such that
I'm aiming to use it in some logging code but the worksheet does make use of merged cells for data entry.
Cheers.
Is there a catch to using Target.Cells.Count >1?
I understand there's some issues around vba and merged cells and this piece of code can be used to ignore merged cells.
Is there a way to use this such that
VBA Code:
If Target.Cells.Count > 1 Then
'set the Target value to the actual value of the merged cell
Target = Target.Address.Value 'I know this doesn't work
End if
I'm aiming to use it in some logging code but the worksheet does make use of merged cells for data entry.
Cheers.