How to apply my VBA application to any Excel workbooks?

AlexExcel2021

New Member
Joined
Feb 23, 2023
Messages
25
Office Version
  1. 2021
Platform
  1. Windows
I have created some application on VBA and export it as XLAM addins.
If I open new blank workbooks my application don't accessible. How to apply my application in VBA-code to any workbooks?
 

Attachments

  • Excel-addin_02262023_011144_2.png
    Excel-addin_02262023_011144_2.png
    228.5 KB · Views: 35
My understanding is that alexexcel2021 wants to make his code work without copying.
So the question is how does this happen automatically "The code goes to ThisWorkbook Module:"
 
Upvote 0

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
My understanding is that alexexcel2021 wants to make his code work without copying.
So the question is how does this happen automatically "The code goes to ThisWorkbook Module:"
It will go in the ThisWorkbook Module of the Addin so the code won't need to be copied to any other workbook and the code will take effect and be available to all workbooks whenever the excel application is launched.
 
Upvote 0
It will go in the ThisWorkbook Module of the Addin so the code won't need to be copied to any other workbook and the code will take effect and be available to all workbooks whenever the excel application is launched.
I understood that the problem was related to distribution to users, but after reading more closely, I understand that your interpretation is correct and the problem was after all only about the allocation of events to the new workbook (after addin distribution)

My apologies for any quirks, English is not my native language.
 
Upvote 0
I understood that the problem was related to distribution to users, but after reading more closely, I understand that your interpretation is correct and the problem was after all only about the allocation of events to the new workbook (after addin distribution)

My apologies for any quirks, English is not my native language.
No problem my friend ... English is not my native language either and I somtimes find it difficult to convey my message accross :)
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top