T
tommyboy
please please someone help
i have tried posting on forums, calling 0906 numbers and spending £3
on a call to suposed excel support to answer this question, but stil
have got nowhere
I am willing to pay anyone who sorts this out for me, or just tell m
where to go to get the answer.
pleases someone
----------
i have this function in a work book and it works fine
Private Sub Worksheet_Change(ByVal Target As Range)
With Sheets("sheet17")
x = .Cells(Rows.Count, "a").End(xlUp).Row + 1
If Target.Address = "$B$4" Then .Cells(x, "a") = Target
End With
End Sub
It basically update sheet17 column a with any changed data on b
sheet1
The problem is when using the worksheet_change event, it will no
update sheet17 when the cell is changed by a calculation
I know i need to use worksheet_calculate, but canot figer out the cod
for this
"Private Sub Worksheet_calculate(ByVal Target As Range)
With Sheets("sheet17")
x = .Cells(Rows.Count, "a").End(xlUp).Row + 1
If Target.Address = "$B$4" Then .Cells(x, "a") = Target
End With
End Sub"
This gives me errors,
or
Private Sub Workbook_SheetCalculate(ByVal Sh As Object)
With Sheets("sheet17")
x = .Cells(Rows.Count, "a").End(xlUp).Row + 1
If ActiveCell.Address = "$B$4" Then .Cells(x, "a") = ActiveCell.Value
End With
End Sub
just doesnt work
:lease help:
i have tried posting on forums, calling 0906 numbers and spending £3
on a call to suposed excel support to answer this question, but stil
have got nowhere
I am willing to pay anyone who sorts this out for me, or just tell m
where to go to get the answer.
pleases someone
----------
i have this function in a work book and it works fine
Private Sub Worksheet_Change(ByVal Target As Range)
With Sheets("sheet17")
x = .Cells(Rows.Count, "a").End(xlUp).Row + 1
If Target.Address = "$B$4" Then .Cells(x, "a") = Target
End With
End Sub
It basically update sheet17 column a with any changed data on b
sheet1
The problem is when using the worksheet_change event, it will no
update sheet17 when the cell is changed by a calculation
I know i need to use worksheet_calculate, but canot figer out the cod
for this
"Private Sub Worksheet_calculate(ByVal Target As Range)
With Sheets("sheet17")
x = .Cells(Rows.Count, "a").End(xlUp).Row + 1
If Target.Address = "$B$4" Then .Cells(x, "a") = Target
End With
End Sub"
This gives me errors,
or
Private Sub Workbook_SheetCalculate(ByVal Sh As Object)
With Sheets("sheet17")
x = .Cells(Rows.Count, "a").End(xlUp).Row + 1
If ActiveCell.Address = "$B$4" Then .Cells(x, "a") = ActiveCell.Value
End With
End Sub
just doesnt work
:lease help: