+ Reply to Thread
Results 1 to 2 of 2

Module not loading on startup

  1. #1
    Registered User
    Join Date
    08-24-2005
    Posts
    22

    Module not loading on startup

    I have created a module using Excel VBA with the following information

    Function GetAddress(HyperlinkCell As Range)
    GetAddress = Replace _
    (HyperlinkCell.Hyperlinks(1).Address, "mailto:", "")
    End Function

    It works fine the first time. After closing the workbook and reloading it, the module no longer shows up on the Shift+F3 window under user defined, nor does the function =GetAddress work. I get a message stating that it is an invalid name.

    On the VBA page, the module is still showing it simply no longer works. I am using Excel 2007.

    Does anyone think they can help ?

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    What format of Excel have you saved as? It needs to be .xlsm - see

    http://www.excel-it.com/Excel%202007/2007_Changes.htm.

    Are you getting a Macro Security warning at the bottom left of the Ribbon, if so click Options & enable them.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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