+ Reply to Thread
Results 1 to 2 of 2

Call Private Sub Routine From Main Macro

  1. #1
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro 2003 / 2010
    Posts
    423

    Call Private Sub Routine From Main Macro

    Hi,

    I have two macros in modules contained within a workbook. How can I make the main macro call this one?

    the Main Macro is called Sub URLS1()

    I want to call this one as soon as the macro starts

    Private Sub TestForURLExists()

    Thanks

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Call Private Sub Routine From Main Macro

    if they are in separate modules either make the second one public or use
    Please Login or Register  to view this content.
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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