Results 1 to 8 of 8

Crashes when calling subroutine

Threaded View

  1. #1
    Registered User
    Join Date
    04-03-2012
    Location
    Stockholm
    MS-Off Ver
    Excel 2003
    Posts
    33

    Crashes when calling subroutine

    Hi,
    I have three different modules, A,B,C. In A I have defined some global variables. In module B I have a subroutine M.

    Sub M
    Call C.test
    End sub
    In module C I have a subroutine test

    Sub test
    a=1
    End sub
    When I try to run subroutine M to call test it crashes. What is wrong?

    Stefan
    Last edited by sbe70; 06-18-2015 at 04:33 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Calling Subroutine from Module
    By indrapurkay in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-16-2015, 07:08 PM
  2. How to run a subroutine if the main routine crashes
    By Phixer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-07-2014, 03:02 AM
  3. Calling a Subroutine (2)
    By Configurator in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-23-2007, 06:52 PM
  4. Trouble calling subroutine
    By Configurator in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2007, 02:07 PM
  5. Calling a subroutine in another workbook
    By mta37 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2005, 12:23 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