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

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -