Hello - I am trying to work out why I am receiving this error.
When I debug it - the bold and underlined line below is causing an error.
It may be worth mentioning that this works fine in a normal Macro enabled workbook. But once I upload the workbook to a collaborative tool, this error occurs upon opening.
Public previous As Double
Private Sub workbook_open()
If IsError(Range("E10")) Then
Range("E10").Select
Else
previous = Worksheets("Totals").Range("E10").Value
Worksheets("Totals").Range("AB1").Value = previous
Range("E10").Select
End If
End Sub
When I debug it - the bold and underlined line below is causing an error.
It may be worth mentioning that this works fine in a normal Macro enabled workbook. But once I upload the workbook to a collaborative tool, this error occurs upon opening.
Public previous As Double
Private Sub workbook_open()
If IsError(Range("E10")) Then
Range("E10").Select
Else
previous = Worksheets("Totals").Range("E10").Value
Worksheets("Totals").Range("AB1").Value = previous
Range("E10").Select
End If
End Sub
Last edited: