scripting.dictionary method or data member not found

  • Thread starter Thread starter Amy Blankenship
  • Start date Start date
A

Amy Blankenship

When my code gets to this line:
Set d = CreateObject(Scripting.Dictionary)

I get the message
method or data member not found

I have added a reference to Microsoft Scripting Runtime. What am I missing?

Thanks;

Amy
 
Amy Blankenship said:
When my code gets to this line:
Set d = CreateObject(Scripting.Dictionary)

I get the message
method or data member not found

I have added a reference to Microsoft Scripting Runtime. What am I
missing?

Thanks;

Amy

What you're missing is a couple of quote marks:

Set d = CreateObject("Scripting.Dictionary")
 

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

Back
Top