Guest_imported
New member
- Jan 1, 1970
- 0
hello
when this wrx, excel should copy a name and paste it into th first empty cell on a dffrnt sheet, however it just pastes the word 'TRUE':
here's the code:
Sub cmdProcess_click()
Application.ScreenUpdating = False
Worksheets("Invoice".Select
Range("B3".Select
With Worksheets("Previous Purchases".Range("C65535".End(xlUp)
If .Address = "$C$3" And IsEmpty(.Value) Then
.Value = Worksheets("invoice".Select
Else: .Offset(1, 0).Value = Worksheets("invoice".Select
End If
End With
End Sub
...i think i need to change what .value equals, but what to?
hlp me pls
cheers
when this wrx, excel should copy a name and paste it into th first empty cell on a dffrnt sheet, however it just pastes the word 'TRUE':
here's the code:
Sub cmdProcess_click()
Application.ScreenUpdating = False
Worksheets("Invoice".Select
Range("B3".Select
With Worksheets("Previous Purchases".Range("C65535".End(xlUp)
If .Address = "$C$3" And IsEmpty(.Value) Then
.Value = Worksheets("invoice".Select
Else: .Offset(1, 0).Value = Worksheets("invoice".Select
End If
End With
End Sub
...i think i need to change what .value equals, but what to?
hlp me pls
cheers