S
stakar
Ill try to be more specific
I have a vb code
When i running the vb code i calculate some values. The following i
one
A B C D
---------------
10
8 X1
5 X2
40 X3
10 X4
The X1 is the result of $C$1/A2
The X2 is the result of $C$1/A3
The X3 is the result of $C$1/A4
The X4 is the result of $C$1/A5
I want each time i change the $C$1 to another value, to
recalculate the values.
THE PROBLEM
The vb code is running under the Sheet2 BUT when it reaches the lin
that read "worksheets("sheet3").Cells.ClearContents "
goes to sheet3 and reads the
'Private Sub Worksheet_Change(ByVal Target As Range)'
I use the Application.EnableEvents = False at first but with no resul
Then goes out , continues with the rest code but when it reache
another line with worksheets("sheet3").mpla mpla mpla do the same a
above
Can anyone tell me how to do with that?
Thanks in advance
Stathi
I have a vb code
When i running the vb code i calculate some values. The following i
one
A B C D
---------------
10
8 X1
5 X2
40 X3
10 X4
The X1 is the result of $C$1/A2
The X2 is the result of $C$1/A3
The X3 is the result of $C$1/A4
The X4 is the result of $C$1/A5
I want each time i change the $C$1 to another value, to
recalculate the values.
THE PROBLEM
The vb code is running under the Sheet2 BUT when it reaches the lin
that read "worksheets("sheet3").Cells.ClearContents "
goes to sheet3 and reads the
'Private Sub Worksheet_Change(ByVal Target As Range)'
I use the Application.EnableEvents = False at first but with no resul
Then goes out , continues with the rest code but when it reache
another line with worksheets("sheet3").mpla mpla mpla do the same a
above
Can anyone tell me how to do with that?
Thanks in advance
Stathi