excel 2003 error>> compile error in hidden module: ThisWorkbook

C

clayton

Hi, I created this worksheet in Office XP. Now I have a new compute
with WindowsXP pro and Office 2003. This worksheet opens fine on othe
machines but on mine I get

"compile error in hidden module: ThisWorkbook"

When I look at it in VBA and run it , it will stop on this line.

Else

response = MsgBox("This is my message to the user.", _
vbOKCancel)
If response = vbOK Then

What is different in Office 2003 to make it have an error now
 
S

Stephen Bullen

Hi Clayton,
Hi, I created this worksheet in Office XP. Now I have a new computer
with WindowsXP pro and Office 2003. This worksheet opens fine on other
machines but on mine I get

"compile error in hidden module: ThisWorkbook"

There's probably something missing on your machine. Click on Tools >
References and see if anything at the top starts with "MISSING: " If
so, try unticking that library.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.BMSLtd.ie
 
C

clayton

Well, I am assuming that no one is having this problem...
Could this be a courpt file in Office or something? I know very littl
about excel so I am stumped.

This is my whole Workbook_Open statement
 
C

clayton

Wow, I was sure someone could help me here. This is the best resourc
site I've ever seen for excel. Hrmm... Guess I'll have to work aroun
it.. Just don’t make any sense..
 

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