Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4049466
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:56:55+00:00 2026-05-20T13:56:55+00:00

I have an Excel 2007 addin (a workbook with macros saved as an addin)

  • 0

I have an Excel 2007 addin (a workbook with macros saved as an addin) that seems to require other books to reference before they can call its methods.

Is this normal? I thought public addin code could be called from anywhere?

Is there a way to have a method available to all workbooks that are opened without creating an explicit reference?

I’m also putting ribbon customizations in the addin and want to make sure these will also work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T13:56:56+00:00Added an answer on May 20, 2026 at 1:56 pm

    As far as I know you cannot directly call procedures or functions from other workbooks in VBA unless you use one of the following methods:

    • Add a reference to the addin which contains the procedure you wish to call
    • Or, call the procedure using Application.Run() supplying the filename of the addin and procedure you wish to call whilst the addin is loaded, e.g. application.run(“MYADDIN.XLA!MySubToRun”). It’s important to note that you don’t need the full path, only the filename.

    You can however utilise functions in the addin in worksheet cell formulas in other workbooks whilst the addin is loaded.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Excel VSTO AddIn that I moved up to Excel 2007/VS2010 last
I have an Excel 2007 workbook that contains tables of data that I'm importing
I have an Excel 2007 .xltm workbook template with several connections to SQL Server.
I'm trying to develop an AddIn for Excel 2007, and have a solution full
I'm currently rewriting an older AddIn for Excel 2007 that another developer write about
I have wrote a code that can read an excel 2007 file using Microsoft
I have an Excel document (2007) with a chart (Clustered Column) that gets its
I have a simple Excel 2007 Macro that is reading a text file line
I am writting an MS Excel COM-Addin in Delphi 2006. I'm have Excel 2007
Intro: I have written some short excel macros (tested, they work fine) and want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.