Error selecting range from userform
In the code behind a userform I have tried to clear the contents of some
cells, but I get a 1001 error.
With ActiveWorkBook.Sheets(LoadSheet).Range(Cells(RowSe l, "B"),
Cells(RowSel_TLA , "BA"))
.ClearContents
End With
The above works from a normal module, but will not run from a worksheet or a
userform. If there something else I can do to achieve the same thing?
--
Trefor
|