runtime error '800a9c64'

D

Dimple Wathen

Anyone ever seen this error message:

runtime error '800a9c64'

results with:

set ws = wb.Worksheets("Sheet1")

where wb is an opened workbook that has macros.

When I manually open the workbook, I have to answer "Enable Macros?"

Thing is, if the workbook is already open and has been opened with
macros DISabled, then:

set ws = wb.Worksheets("Sheet1")

works without error.

(I am using VBSCRIPT as in a .VBS file.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top