+ Reply to Thread
Results 1 to 4 of 4

Macro Runs on My Computer but Not My Coworker's Computers

  1. #1
    Forum Contributor
    Join Date
    05-17-2017
    Location
    Tallahassee
    MS-Off Ver
    15.32
    Posts
    206

    Macro Runs on My Computer but Not My Coworker's Computers

    I am having a major issue with my macro. When I run it on my computer, it runs completely fine. When I run it on my coworker's computer, who has the same version of Excel as me, the macro runs into an error on a portion of the code that is used to paste data to a new worksheet. Then, on my other coworker's computer, the macro runs into an error on a completely different portion of the code. For the second coworker, the error is on creating a pivot table. Attached is an Excel workbook with randomized data with the macro. Can any of you help on this issue? There also seems to be an issue that the pie-graphs aren't centered on certain monitors but they are on others. This is a much smaller issue but any help/advice would be highly appreciated!

    Note, the button for the macro is on the "Summary" tab.
    Last edited by EdwardSnowden; 06-14-2019 at 03:26 PM.

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Macro Runs on My Computer but Not My Coworker's Computers

    Without completely disecting the code (which appears to be extremely long) I can only say that for it to run on multiple computers, the system settings should all be the same, the sheet names must be identical and the sheet formatting must be identical. Your code needs to be "de-selected". It would be much more efficient if direct coding were used rather that the select methed. I realize that may be a difficult task for you, since the code was apparently developed by recoder, but for instance this
    Please Login or Register  to view this content.
    Can be reduced to this
    Please Login or Register  to view this content.
    Which is easier to read, faster and no filicker and flash.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Forum Contributor
    Join Date
    05-17-2017
    Location
    Tallahassee
    MS-Off Ver
    15.32
    Posts
    206

    Re: Macro Runs on My Computer but Not My Coworker's Computers

    JLGWhiz: Thank you so much!

  4. #4
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Macro Runs on My Computer but Not My Coworker's Computers

    Quote Originally Posted by EdwardSnowden View Post
    JLGWhiz: Thank you so much!
    You are welcome,
    regards, JLG

+ 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. [SOLVED] Excel Macro Runs on Some Computers, Not All- Stalls for computers where it fails to run
    By jamie.harris in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 05-25-2018, 04:54 PM
  2. macro not working on coworker computer
    By clammastak in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-06-2015, 05:57 PM
  3. Program runs on one computer but not on another
    By Wouldsman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-17-2014, 08:59 AM
  4. Certain Macro just runs forever on my computer
    By Didley in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-02-2013, 12:16 PM
  5. [SOLVED] My programme only runs how it should on my computer
    By Imperial in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2013, 06:06 AM
  6. Macro only runs on my computer
    By Macro-wave in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-16-2008, 08:44 PM
  7. Excel program only runs on one computer
    By JWM6 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2007, 12:06 PM

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