×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

My first VBA Excel program doesn't port to new computer..

My first VBA Excel program doesn't port to new computer..

My first VBA Excel program doesn't port to new computer..

(OP)
I developed my first Excel program and it works great on the computer on my desk.  Last night I tried to run it on the manufacturing computer and it has a compile error.

I can't totally remember the error message and I am not at work right now, but I will update this post shortly.  It make me think that one of my functions wasn't being recognised from one VBA module to the next.

Any wild ideas you have at this point will be welcome.

Thanks,
groundhog

RE: My first VBA Excel program doesn't port to new computer..

It may have to do with referencing the libraries whose functions you're calling - this also applies to functions from other add-ins. Go to Tools-References and see if you need to add a reference there.

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

RE: My first VBA Excel program doesn't port to new computer..

(OP)
Yes, it seems I am missing some Visio dll files.
It shows
missing VIsio 11 type
missing Visio 11 dwg cntl

They reference dll files and i will put them on the new computer.

RE: My first VBA Excel program doesn't port to new computer..

(OP)
Yes that did it.
My fight-or-flight panic response is going down now.
It needed some Visio dll files.
I have Visio on my desk computer, but not on the mfg machine.

Thankyou,
groundhog

RE: My first VBA Excel program doesn't port to new computer..

Groundhog,

Not to rain on your parade, but you might want to make sure those Visio dll's are legally redistributable.  Should say so in the Visio documentation if they are.


Regards,
Mike

RE: My first VBA Excel program doesn't port to new computer..

(OP)
I thought of this later, but shouldn't I be able to go to the references and just unclick those items?

I did create bmp cartoons of the test setup in Visio, but I don't see why the spreadsheet really needs those dll files.

groundhog

RE: My first VBA Excel program doesn't port to new computer..

Sounds good to me. If you don't use anything from the Visio.dll, like a function, an object class, or a sub, then you don't need it, and you can just remove it from the references.

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources