vba - Sheet7 is an Excel Object, but I have no Worksheet7 -
i have workbook 9 worksheets, 10 sheet object in vba. somehow, sheet7 created in ide not removed when worksheet deleted (i think). is, tabs @ bottom of workbook show:
sheet1 sheet2 sheet3 sheet4 sheet5 sheet6 sheet8 sheet9 sheet10
however, project window of vba ide shows microsoft excel object of plus sheet7
. cannot remove sheet7 object, , trying .activate
gets error 429: activex can't create object. adding new worksheet results in sheet11 being created. deleting worksheets 6, 8, 9, , 10 leaves sheet7. creating new worksheets after results in worksheets 6, 8, , 9 being created, skipping sheet7. list of methods , properties suggested intellisense shorter methods , properties available "real" worksheet. example, there no .visible
property, sheet7.visible = xlsheetvisible
returns error method or data member not found.
how fix this?
wiki
Comments
Post a Comment