+ Reply to Thread
Results 1 to 2 of 2

Application.Run Macro Works Fine For Me, Not For Another

  1. #1
    Registered User
    Join Date
    08-23-2016
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    17

    Application.Run Macro Works Fine For Me, Not For Another

    Tricky situation here that I can't quite seem to understand. Note below code.

    Please Login or Register  to view this content.
    In short, this subroutine opens an external file, and then executes another module within the original host file that will perform work on the external file. I run it, no issue, everything executes without issue. A colleague runs it, and although it is able to get through opening the external file, a notice comes up about 'a path' cannot be found. Check your spelling, or try a different path. Upon hitting debug it highlights the:
    Please Login or Register  to view this content.
    line. My immediate reaction was to check if the GS_Recalc_Refresh_Print macro was local or something but quickly remembered that it's merely another module within the original host file, so why would it even need to look?

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Application.Run Macro Works Fine For Me, Not For Another

    Hi,

    Are you saying that the two routines GS_Recalc_Refresh_Print and SlaveRoutineGS are located within the same workbook? If so, why do you need to use Run at all rather than calling the second routine directly?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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] Help with modifying VBA Macro - Works fine but needs fine tuning !
    By stefan27 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-06-2015, 10:27 AM
  2. Macro works fine until documents closed
    By a_gunslinger in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-26-2011, 04:17 PM
  3. Vlookup works fine, but not in Macro
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2010, 12:54 PM
  4. Macro works fine... until I save it
    By hoffey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2009, 04:34 PM
  5. macro works fine once than scrambles everything the second time
    By drocket in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2007, 04:49 PM
  6. Macro hangs up often but sometimes works fine
    By Jeff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-13-2006, 08:10 AM
  7. Macro works fine on PC; fails on Mac
    By marlea in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2006, 04:35 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