Small Paul
Board Regular
- Joined
- Jun 28, 2018
- Messages
- 118
Hi
Please could somebody help with an issue I am currently experiencing?
I have the following code:
The first 2 sections work fine. Simply type the required 'figure' in column C, they ADD on to existing data (as necessary) and the figure in column C is deleted. On the back of that, the cells are then copied via VLookups to a separate sheet.
The third section does not work however. I type the 'text' into column L and via an =IF it shows in column O. Unfortunately, when I click on the cell in 'L', nothing happens. I need the 'value' to:
If anybody has any ideas it would be appreciated.
Best regards
Small Paul.
Please could somebody help with an issue I am currently experiencing?
I have the following code:
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range) Dim thisrow As Long
If Target.Column = 3 Then
thisrow = Target.Row
Range("B" & thisrow) = Range("B" & thisrow) + Range("C" & thisrow)
If Target.Column = 3 Then
thisrow = Target.Row
Range("D" & thisrow) = Range("D" & thisrow) + Range("C" & thisrow)
Range("C" & thisrow).ClearContents
If Target.Column = 12 Then
thisrow = Target.Row
Range("M" & thisrow) = Range("L" & thisrow)
Range("L" & thisrow).ClearContents
End If
End If
End If
End Sub
The third section does not work however. I type the 'text' into column L and via an =IF it shows in column O. Unfortunately, when I click on the cell in 'L', nothing happens. I need the 'value' to:
- Show in column M (with seeming no formula behind it)
- Clear in column L
- Clear from column O (which equals L)
If anybody has any ideas it would be appreciated.
Best regards
Small Paul.