Problem finding vbModal on users PC

M

Mark Desrosiers

Hello:

I've developed an Excel spreadsheet VBA program to
download some data and produce a report. It works fine on
my Windows XP system with Excel 2000. Just discovered the
user bas older equipment running Windows NT with Office 97
(gulp!). The first thing I see when the spreadsheet pgm
runs is a line of my code higlighting vbModal with the
message "Can't Find Project or Library".

Is it possible her Office 97 was loaded without some
(optional?) VB extensions? Is there an easy way to link to
the library from my VBA program? I believe I need
advapi32.dll.

Thanks,
Mark
 
T

Tom Ogilvy

In Excel 97, useforms could only be shown as modal, so the Show command did
not take an argument . I suspect this is your problem.

If you are not using modeless userforms, then modal is the default, so you
can just remove the argument. If you are, then you are in trouble.
 

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