Solved

reattach personal.xlsb

Posted on 2014-02-24
7
441 Views
Last Modified: 2014-02-25
I'm using Excel 2010. I've created and used a set of macros that are saved in personal.xlsb. The file is located in the correct location:
   C:\Users\<<<username>>>\AppData\Roaming\Microsoft\Excel\XLSTART\
and worked for a while. Now when I start Excel, the personal workbook doesn't open and the macros are not available.

If I doubleclick the personal.xlsb file, the macros are still there...

How do i get Excel to recognize and open the personal.xlsb file again?
0
Comment
Question by:Scott Helmers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 39882973
Check your Trusted Locations in Trust Center.  Is XLSTART listed as the User StartUp folder?
0
 
LVL 30

Author Comment

by:Scott Helmers
ID: 39883038
Yes it istrusted locations
0
 
LVL 92

Assisted Solution

by:Patrick Matthews
Patrick Matthews earned 100 total points
ID: 39883129
Strange, I've never seen this happen.

I would try this:
Back up the old Personal.xlsb to a safe place
Export all modules, userforms, and class modules from the Personal.xlsb
Delete it
Use "record macro" to record a silly little macro stored in the Personal file, thus recreating it
Import the VBA objects back in
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 30

Author Comment

by:Scott Helmers
ID: 39883336
Thanks for the suggestion, Patrick. I created a new personal.xlsb, imported the single code module, and saved the .xlsb.

When I launch Excel the personal.xlsb does not open: it's not visible in the VBE nor do the macros appear if I click the Macros button on the Developer tab.

The XLSTART still shows correctly as a trusted location.

Some sort of weird permissions issue?? BTW, I'm running Windows 7 on this machine.
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 39883724
I'm stumped.  I'm running Windows 7 myself, and I've not seen this happen before.  I suggest you hit Request Attention and ask the Mods to send some alerts.
0
 
LVL 12

Accepted Solution

by:
Harry Lee earned 400 total points
ID: 39884331
scott,

beside the trusted locations, there is still one more place you need to check; Disabled Items.

In Excel, go to File menu, then Options.
Go the Add-Ins.
At the bottom-left, the Manage combo box, select Disabled Items, then press the Go button.
Check the popped up list to see if anything related to the Personal.xlsb is listed.
If there is, select the item and click the Enable button.
0
 
LVL 30

Author Comment

by:Scott Helmers
ID: 39884417
Brilliant! That was it. Thanks...
disabled add-ins
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question