maddison1984
New Member
- Joined
- Apr 15, 2015
- Messages
- 2
Hi All,
I'm new to this so please forgive my ignorance. I am trying to format a graph axis on the basis of the data in a cell which is calculated by formula.
To do this I have created one macro (which I have tested) which I intend to reference in the worksheet_calculate() function as below:
Private Sub Worksheet_Calculate()
If [A1] > 5 Then
Application.EnableEvents = False
Call Format_YAxis_Dollars
Application.EnableEvents = True
End If
End Sub
Can anyone help with this?
Thanks,
Matt
I'm new to this so please forgive my ignorance. I am trying to format a graph axis on the basis of the data in a cell which is calculated by formula.
To do this I have created one macro (which I have tested) which I intend to reference in the worksheet_calculate() function as below:
Private Sub Worksheet_Calculate()
If [A1] > 5 Then
Application.EnableEvents = False
Call Format_YAxis_Dollars
Application.EnableEvents = True
End If
End Sub
Can anyone help with this?
Thanks,
Matt