Add Ins error

kkondrat1

New Member
Joined
Nov 10, 2005
Messages
9
Private Sub Workbook_Open()
AddIns("Analysis ToolPak").Installed = True
AddIns("Analysis ToolPak - VBA").Installed = True
'SetScrollAreas
'Sheets("Assumptions").Select
'identify_write_access
End Sub

When i open the sheet I receive this error-

"Run time error '7': Out of memory

any ideas?
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
The code is good, I think you probably are out of memory ( :biggrin: ) How much do you have on your machine?
 
Upvote 0
Out of memory

I have 512, I don't know how memory could be an issue for a simple macro command like this-

I am opening this sheet from a hyperlink, could that be an ussue?
 
Upvote 0
Hmm just a thought to try... Instead of putting it in workbook open try putting it in a module and naming the sub Auto_Open.

Might fix it. (Might not too :confused: )
 
Upvote 0

Forum statistics

Threads
1,215,421
Messages
6,124,806
Members
449,191
Latest member
rscraig11

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