Results 1 to 2 of 2

Thread: [RESOLVED] Scope of Functions in Excel Add-In

Threaded View

  1. #1

    Thread Starter
    Fanatic Member VBAhack's Avatar
    Join Date
    Dec 2004
    Location
    Sector 000
    Posts
    617

    Resolved [RESOLVED] Scope of Functions in Excel Add-In

    I have an Excel Add-In containing API declarations (Public Declare Sub ...) and Public Functions that call the API's.

    In a new Excel file that references the above add-in, I can access the public functions of the add-in in worksheet formulas but not from a code module. A "Sub or Function not defined" error occurs if a function is referenced in a code module.

    Is the scope of functions in an add-in ONLY spreadsheet formulas? Is there a way to access the functions in a code module?
    Last edited by VBAhack; May 23rd, 2008 at 03:37 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width