Try replacing withOn 2002-07-11 04:51, matthewh wrote:
Having probs with code that did work and now doesn't...
' Open New form and increment serial number by 1
INITIALISE
Sheets("Seqnum").Unprotect
Worksheets("Seqnum").Visible = xlSheetVisible
Application.ScreenUpdating = False
Sheets("Seqnum").Select
Range("A1").Select
Selection.copy
The bit with:
Worksheets("Seqnum").Visible = xlSheetVisible
is causing the problem, but I don't think anything has changed. Can anyone offer any ideas?
Thanks
Code:Worksheets("Seqnum").Visible = True


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks