J
jefe
I have several macros in a protected sheet. The macros
are for sorting a selection. However, the macros only
work when the protection is not on. When I debug, I get
the following part of the script highlighted.
Selection.Sort Key1:=Range("B3"), Order1:=xlAscending,
Header:=xlGuess, OrderCustom:=1, MatchCase:= _
False, Orientation:=xlTopToBottom,
DataOption1:=xlSortNormal, DataOption2 _
:=xlSortNormal
I know next to nothing about this VBA stuff so I don't
even know if the highlight means that is where the error
is or if it is stepping through.
I have tried checking and unchecking boxes, when
protecting the sheet, that seem to me that they might have
some bearing on this.
Any ideas would be greatly appreciated.
Thanks
are for sorting a selection. However, the macros only
work when the protection is not on. When I debug, I get
the following part of the script highlighted.
Selection.Sort Key1:=Range("B3"), Order1:=xlAscending,
Header:=xlGuess, OrderCustom:=1, MatchCase:= _
False, Orientation:=xlTopToBottom,
DataOption1:=xlSortNormal, DataOption2 _
:=xlSortNormal
I know next to nothing about this VBA stuff so I don't
even know if the highlight means that is where the error
is or if it is stepping through.
I have tried checking and unchecking boxes, when
protecting the sheet, that seem to me that they might have
some bearing on this.
Any ideas would be greatly appreciated.
Thanks