Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default My code does not run on another computer

I have developed a macro that works perfectly on my computer but only on
mine. If I try to make it run on somebody else's computer, an error message
appears related to the "left" and "dir" statements.

Excel versions are the same, I have also checked add-ins and they have the
same add-ins running. I think Microsoft Visual Basic References are the same
although I am not sure of it.

Thanks,

Pedro.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default My code does not run on another computer

Check the VBA References and ensure that none are marked as
Missing. If there are any missing references, remove them.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Pedro" wrote in message
...
I have developed a macro that works perfectly on my computer but
only on
mine. If I try to make it run on somebody else's computer, an
error message
appears related to the "left" and "dir" statements.

Excel versions are the same, I have also checked add-ins and
they have the
same add-ins running. I think Microsoft Visual Basic
References are the same
although I am not sure of it.

Thanks,

Pedro.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 86
Default My code does not run on another computer

Here are some things for which to look:
1. material in my personal.xls that I forgot to distribute
2. references to things specific to the directory structure in my computer
3. reliance to aspects of Excel that I have customized
They may not resolve your problem, but at least get you started.

--
Gary's Student


"Pedro" wrote:

I have developed a macro that works perfectly on my computer but only on
mine. If I try to make it run on somebody else's computer, an error message
appears related to the "left" and "dir" statements.

Excel versions are the same, I have also checked add-ins and they have the
same add-ins running. I think Microsoft Visual Basic References are the same
although I am not sure of it.

Thanks,

Pedro.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formulaed cell response varies from computer to computer WKH Excel Discussion (Misc queries) 3 November 21st 07 06:37 PM
Transfer Macro code to another computer Corey Excel Discussion (Misc queries) 0 May 24th 06 11:09 PM
How do I copy all Excel files from old computer to new computer? Rfarsh Excel Discussion (Misc queries) 2 December 20th 05 03:23 AM
Autocomplete works with my home computer but not the office computer Andy Excel Discussion (Misc queries) 4 December 11th 04 07:21 PM
_How could I get the code to find out the resolution that user has in the computer U. Kõrsmaa Excel Programming 2 July 17th 03 10:00 AM


All times are GMT +1. The time now is 11:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"