Ms Excel found a problem and has to be finished
Closed
juppkk
Posts
4
Registration date
Monday 6 May 2013
Status
Member
Last seen
8 May 2013
-
6 May 2013 à 06:13
juppkk Posts 4 Registration date Monday 6 May 2013 Status Member Last seen 8 May 2013 - 8 May 2013 à 12:01
juppkk Posts 4 Registration date Monday 6 May 2013 Status Member Last seen 8 May 2013 - 8 May 2013 à 12:01
Related:
- Ms Excel found a problem and has to be finished
- Ms excel mod apk for pc - Download - Spreadsheets
- Vat calculation excel - Guide
- Kernel for excel repair - Download - Backup and recovery
- How to clear formatting in excel - Guide
- Number to words in excel - Guide
4 responses
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
6 May 2013 à 07:36
6 May 2013 à 07:36
try with this
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Sheets("Tabelle2").Range("B73")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Application.Calculation = xlCalculationManual
call ruc1()
Application.Calculation = xlCalculationAutomatic
Application.EnableEvents = True
end sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Sheets("Tabelle2").Range("B73")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Application.Calculation = xlCalculationManual
call ruc1()
Application.Calculation = xlCalculationAutomatic
Application.EnableEvents = True
end sub
juppkk
Posts
4
Registration date
Monday 6 May 2013
Status
Member
Last seen
8 May 2013
6 May 2013 à 07:53
6 May 2013 à 07:53
Hi,
thank you for awnsering.
But I'm sorry, I don't understand what you mean.
Private Sub Worksheet_Change(ByVal Target As Range)
is the routine to change Y-Axis
ruc1 is also the routine to change Y-Axis
even called "Private Sub Worksheet_Change(ByVal Target As Range)"
What's about the scroll bars?
thank you for awnsering.
But I'm sorry, I don't understand what you mean.
Private Sub Worksheet_Change(ByVal Target As Range)
is the routine to change Y-Axis
ruc1 is also the routine to change Y-Axis
even called "Private Sub Worksheet_Change(ByVal Target As Range)"
What's about the scroll bars?
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
6 May 2013 à 09:29
6 May 2013 à 09:29
"Private Sub Worksheet_Change(ByVal Target As Range) " is an event
That would be fired when there is a change in the worksheet
I presumed that you were trying to call your ruc1 function if there is a change in the sheet. I must be then missing your point here.
That would be fired when there is a change in the worksheet
I presumed that you were trying to call your ruc1 function if there is a change in the sheet. I must be then missing your point here.
juppkk
Posts
4
Registration date
Monday 6 May 2013
Status
Member
Last seen
8 May 2013
6 May 2013 à 09:59
6 May 2013 à 09:59
> "Private Sub Worksheet_Change(ByVal Target As Range) " is an event
> That would be fired when there is a change in the worksheet
yes and that works fine if I change cells manually.
As soon as I call this as a subroutine (ruc1) from scroll bar event I get the error.
or in short:
----
Private Sub SpinButton1_SpinUp()
Range("B73") = Application.WorksheetFunction.MIN(Range("B73") + 1, 63)
ActiveSheet.ChartObjects("Diagramm 1").Activate
ActiveChart.Axes(xlValue).Select
' rest of routine just set as comment or not
End Sub
----
will end in: popup Message:
"Microsoft Excel has found a problem and has to be finished"
(after the job is well done)
> That would be fired when there is a change in the worksheet
yes and that works fine if I change cells manually.
As soon as I call this as a subroutine (ruc1) from scroll bar event I get the error.
or in short:
----
Private Sub SpinButton1_SpinUp()
Range("B73") = Application.WorksheetFunction.MIN(Range("B73") + 1, 63)
ActiveSheet.ChartObjects("Diagramm 1").Activate
ActiveChart.Axes(xlValue).Select
' rest of routine just set as comment or not
End Sub
----
will end in: popup Message:
"Microsoft Excel has found a problem and has to be finished"
(after the job is well done)
juppkk
Posts
4
Registration date
Monday 6 May 2013
Status
Member
Last seen
8 May 2013
8 May 2013 à 12:01
8 May 2013 à 12:01
Hi,
I got it.
The problem was as expected the combination of SpinButton and
the Y-Axis scaling routine.
After handling this both routines Excel was "flying in the cloud".
And the next mouseclick anywher at the map forced the break down.
However, just setting a defined position at then end of Y-Axis routine helped.
. . .
Range("b73").Select
End Sub
Regards juppkk
I got it.
The problem was as expected the combination of SpinButton and
the Y-Axis scaling routine.
After handling this both routines Excel was "flying in the cloud".
And the next mouseclick anywher at the map forced the break down.
However, just setting a defined position at then end of Y-Axis routine helped.
. . .
Range("b73").Select
End Sub
Regards juppkk