?
Solved

reattach personal.xlsb

Posted on 2014-02-24
7
Medium Priority
?
454 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 93

Expert Comment

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

Author Comment

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

Assisted Solution

by:Patrick Matthews
Patrick Matthews earned 400 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 31

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 93

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 1600 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 31

Author Comment

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
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 how to use longer labels with horizontal bar charts instead of the vertical column chart.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

719 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