+ Reply to Thread
Results 1 to 4 of 4

VBA Export of Module Working inconsistently on different computers

  1. #1
    Forum Contributor
    Join Date
    09-13-2008
    Location
    Los Angeles, CA
    MS-Off Ver
    365
    Posts
    120

    VBA Export of Module Working inconsistently on different computers

    I'm having an issue where I have some VBA that exports a module to a file and then later imports it to another file. This works perfectly on my computer and some of my colleagues, but doesn't on certain others' computers. I've tried a couple different things, such as creating a text file in that same folder and that all works, so its not a directory access issue. I also tried writing the name of the module to the text file - works on my computer, not on theirs. So somehow, I suspect the code doesn't read the module in the excel file on their end, but not sure why this would be happening. Any help/advice greatly appreciated!

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: VBA Export of Module Working inconsistently on different computers

    May be better to try changing the path to another directory away from the C drive ..
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,911

    Re: VBA Export of Module Working inconsistently on different computers

    What exactly does "doesn't work" mean? Do they have the option to trust access to the VBA Project set in the trust center? If not, your code will never work.
    Rory

  4. #4
    Forum Contributor
    Join Date
    09-13-2008
    Location
    Los Angeles, CA
    MS-Off Ver
    365
    Posts
    120

    Re: VBA Export of Module Working inconsistently on different computers

    Quote Originally Posted by rorya View Post
    What exactly does "doesn't work" mean? Do they have the option to trust access to the VBA Project set in the trust center? If not, your code will never work.
    Yup, this was it, thanks! Never got a pop up about it because I had on "on error resume next" .

    Okay, solved, thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Recorded Macro Problem: Inconsistently Working :(
    By wedzmer in forum Excel General
    Replies: 19
    Last Post: 09-26-2016, 12:33 AM
  2. [SOLVED] Macro's not working on other computers (help please)
    By 4lowie in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-15-2013, 09:33 PM
  3. [SOLVED] Calendar not Working on all Computers
    By Runnin L8 in forum Excel General
    Replies: 7
    Last Post: 12-04-2013, 08:25 PM
  4. [SOLVED] Offset, Index, Match formula with dates inconsistently working
    By David Brown in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-31-2013, 04:12 PM
  5. Formulas working inconsistently - vlookup+row
    By psanghvi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-27-2011, 06:09 PM
  6. Working from 2 computers
    By famdamly in forum Excel General
    Replies: 8
    Last Post: 02-25-2006, 07:23 PM
  7. [SOLVED] Working with templates on different computers
    By Don in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2005, 12:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1