Data from an un opened Addin

Giordano Bruno

Well-known Member
Joined
Jan 7, 2007
Messages
1,356
I have an addin file that may or may not be ticked as the code is run. The file has an intranet address written in cell B2.

I need some code to discover the intranet address without opening (ticking) the addin. The addin exists on numerous different computers so I cannot 'hard wire' the address.

Is this possible? Any assistance will be gratefully received.
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I have found a backdoor solution to this which involves finding the path and then creating a formula to link to the file.

Sub FindVerNum()
Dim x, y, z
Range("A1").ClearContents
x = Application.UserLibraryPath
x = "='" & x & "[swxy.xla]Sheet1'!$A$2"
Range("A1").Value = x
End Sub

It behaves rather strangly when I delete the Addin. Although the addin is deleted, and the code clears the cells, the macro still returns the original value. I have to break links AND save before it realizes there is nothing there.

If anyone can throw any light on this I would be grateful.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,278
Members
452,902
Latest member
Knuddeluff

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