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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Oorang

Well-known Member
Joined
Mar 4, 2005
Messages
2,071
The code is good, I think you probably are out of memory ( :biggrin: ) How much do you have on your machine?
 

kkondrat1

New Member
Joined
Nov 10, 2005
Messages
9
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?
 

Oorang

Well-known Member
Joined
Mar 4, 2005
Messages
2,071
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: )
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,117
Messages
5,835,489
Members
430,358
Latest member
zzc1128

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
Top