J
Jan Eikeland
environment excel97.
I run a macro, look at its code and paste it into my VB code.
Im getting an error.
What could be wrong?
Will I get an error if conditions allready are true?
thank You
regards jan
Private Sub Worksheet_Activate()
With ActiveWindow
.DisplayFormulas = False
.DisplayGridlines = False
.DisplayHeadings = False
.DisplayOutline = False
.DisplayZeros = False
.DisplayHorizontalScrollBar = False
.DisplayVerticalScrollBar = False
.DisplayWorkbookTabs = True
End With
ActiveSheet.DisplayPageBreaks = False
End Sub
I run a macro, look at its code and paste it into my VB code.
Im getting an error.
What could be wrong?
Will I get an error if conditions allready are true?
thank You
regards jan
Private Sub Worksheet_Activate()
With ActiveWindow
.DisplayFormulas = False
.DisplayGridlines = False
.DisplayHeadings = False
.DisplayOutline = False
.DisplayZeros = False
.DisplayHorizontalScrollBar = False
.DisplayVerticalScrollBar = False
.DisplayWorkbookTabs = True
End With
ActiveSheet.DisplayPageBreaks = False
End Sub