ALIB Excel Ad In

Vaskosky

New Member
Joined
Sep 5, 2014
Messages
3
HI
I am trying to create a macro in Excel to pul an EXCEL ALIB file "xlswaps.xla" to the Add-Ins. I have tryed usig the below code but it isn't working?
Sheets("setup").Select
Range("C1").Select
ActiveCell.FormulaR1C1 =OBJECT_LOAD(""http:C:\ct2\alib\18.0.0.0//)"
Range("C2").Select
ActiveSheet.Calculate


Call ImportData_4("Import_Table")
Sheets("xlswaps.xla").Select
ActiveSheet.Calculate
ActiveWorkbook.Save
End Sub
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I don't follow your code at all. What is OBJECT_LOAD? It looks as though you are attempting to embed an add-in workbook in another workbook, but I can't imagine why.
 
Upvote 0
Hi Rory,
Corect I need to embed the Alib Add In to another workbook in order to run a report. At the moment I am draging the ALIB folder located in ( C:\ct2\alib\18.0.0.0) to the Add-Ins on the top of the ribon in Excel. I need to create a macro to pul the file automatically.
Thank you
 
Upvote 0
Embedding an add-in is not the same as installing it - it won't make the code available to the workbook. Why do you want to embed it?
 
Upvote 0
Embedding an add-in is not the same as installing it - it won't make the code available to the workbook. Why do you want to embed it?

Hi I need the ALIB function to add to excel to run some data. Currently I need to drag and drop the ALIB file to excel addIns I like to set up macro to automate the process
 
Upvote 0

Forum statistics

Threads
1,213,511
Messages
6,114,054
Members
448,543
Latest member
MartinLarkin

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