Solved Excel 2010 Macros Will Not Run On A New Machine

jsquareg

New member
Power User
Local time
1:57 AM
Messages
400
Am running Win7 and Office 2010.

Several years ago I wrote four macros to perform operations in Excel 2010. Thet we to be placed in Personal.XLS so they would be available on all worksheets. I put links to them in the Quick Access bar. Twice I have tried to use those macros on different machines by putting the Personal.XLS from the first machine on to the new machines. They will not run from the either new machine's Quick Access bar but will run just fine from View/Macros/Run on each of the new machines. I get a message saying "Cannot run the macro "C:\Users\Main\AppData\Roaming\Microsoft\Excel\XLSTARTPERSONAL.XLS'!Sheet_Protection'. The macro may not be available in this workbook or all macros may be disabled."

The Trust Center Macro Settings has Enable all Macros checked.

The only way I have been able to use the Quick Launch Bar to run these macros is to delete and reinstall each of them. Then they work fine.

The only clue to what the problem may be is the User Name on each new machine is different.

Will someone please help me?

Thank you.
 

My Computer My Computer

At a glance

Windows 7 Home Premium (Retail) Full version ...3.10 Gig Intel Core i5-3350P8192 Megabytes Usable Installed Memory
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS-8500
OS
Windows 7 Home Premium (Retail) Full version - With SP1
CPU
3.10 Gig Intel Core i5-3350P
Motherboard
Dell 0NW73C A00
Memory
8192 Megabytes Usable Installed Memory
Monitor(s) Displays
Samsung SyncMaster [Monitor] (19.1"vis, s/n HVELA10194, Octo
Screen Resolution
1024 X 768
Hard Drives
INTEL SSDSA2CW120G3 ATA Device [Hard drive] (120.03 GB)
INTEL SSDSA2CW080G3 ATA Device [Hard drive] (80.02 GB)
Keyboard
HID Keyboard Device (HP)
Mouse
Dell (came with computer)
Internet Speed
cox high speed
Other Info
The above taken with Bel Arc Advisor
Does C:\Users\Main\AppData\Roaming\Microsoft\Excel\XLSTARTPERSONAL.XLS exist? check exact location and name.
I think the name should be C:\Users\Main\AppData\Roaming\Microsoft\Excel\XLSTART\PERSONAL.XLS instead. Are you logged on as user Main?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Does C:\Users\Main\AppData\Roaming\Microsoft\Excel\XLSTARTPERSONAL.XLS exist? check exact location and name.
I think the name should be C:\Users\Main\AppData\Roaming\Microsoft\Excel\XLSTART\PERSONAL.XLS instead. Are you logged on as user Main?

Thank you

Of course! My mistake. I left the '\' out. It does exist in that location and the macros in it work when, as I said, they are launched from View\Macros\Run but not from the Quick Access bar.

I really appreciate your reply for this has bugged me a while.

Thanks again.
 

My Computer My Computer

At a glance

Windows 7 Home Premium (Retail) Full version ...3.10 Gig Intel Core i5-3350P8192 Megabytes Usable Installed Memory
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS-8500
OS
Windows 7 Home Premium (Retail) Full version - With SP1
CPU
3.10 Gig Intel Core i5-3350P
Motherboard
Dell 0NW73C A00
Memory
8192 Megabytes Usable Installed Memory
Monitor(s) Displays
Samsung SyncMaster [Monitor] (19.1"vis, s/n HVELA10194, Octo
Screen Resolution
1024 X 768
Hard Drives
INTEL SSDSA2CW120G3 ATA Device [Hard drive] (120.03 GB)
INTEL SSDSA2CW080G3 ATA Device [Hard drive] (80.02 GB)
Keyboard
HID Keyboard Device (HP)
Mouse
Dell (came with computer)
Internet Speed
cox high speed
Other Info
The above taken with Bel Arc Advisor
launch visual basic edit (in developer tab) and check if your code is in a sheet or module contained in the file you are working with
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
launch visual basic edit (in developer tab) and check if your code is in a sheet or module contained in the file you are working with

Thank you again.

My bad again!

The macros are in a module in Personal.xls.

BUT you had the answer in your first reply and ir went right over my head. You asked if I was logged in as MAIN. No I wasn't. I was logged in under another name. No wonder the buttons didn't work!

I created a user MAIN, logged into that name and things went perfectly. I can live with having to redo the buttons for the macros involved for now.

Thanks again for your help.
 

My Computer My Computer

At a glance

Windows 7 Home Premium (Retail) Full version ...3.10 Gig Intel Core i5-3350P8192 Megabytes Usable Installed Memory
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS-8500
OS
Windows 7 Home Premium (Retail) Full version - With SP1
CPU
3.10 Gig Intel Core i5-3350P
Motherboard
Dell 0NW73C A00
Memory
8192 Megabytes Usable Installed Memory
Monitor(s) Displays
Samsung SyncMaster [Monitor] (19.1"vis, s/n HVELA10194, Octo
Screen Resolution
1024 X 768
Hard Drives
INTEL SSDSA2CW120G3 ATA Device [Hard drive] (120.03 GB)
INTEL SSDSA2CW080G3 ATA Device [Hard drive] (80.02 GB)
Keyboard
HID Keyboard Device (HP)
Mouse
Dell (came with computer)
Internet Speed
cox high speed
Other Info
The above taken with Bel Arc Advisor
LOL...
Do you want to enable the macros for ALL users on that machine? If so put personal.xls in folder C:\Program Files\Microsoft Office\Office 14\XLStart\ instead. Of course you have to modify Quick Access bar again. But only once!
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
LOL...
Do you want to enable the macros for ALL users on that machine? If so put personal.xls in folder C:\Program Files\Microsoft Office\Office 14\XLStart\ instead. Of course you have to modify Quick Access bar again. But only once!

That's to easy!

Thanks.
 

My Computer My Computer

At a glance

Windows 7 Home Premium (Retail) Full version ...3.10 Gig Intel Core i5-3350P8192 Megabytes Usable Installed Memory
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS-8500
OS
Windows 7 Home Premium (Retail) Full version - With SP1
CPU
3.10 Gig Intel Core i5-3350P
Motherboard
Dell 0NW73C A00
Memory
8192 Megabytes Usable Installed Memory
Monitor(s) Displays
Samsung SyncMaster [Monitor] (19.1"vis, s/n HVELA10194, Octo
Screen Resolution
1024 X 768
Hard Drives
INTEL SSDSA2CW120G3 ATA Device [Hard drive] (120.03 GB)
INTEL SSDSA2CW080G3 ATA Device [Hard drive] (80.02 GB)
Keyboard
HID Keyboard Device (HP)
Mouse
Dell (came with computer)
Internet Speed
cox high speed
Other Info
The above taken with Bel Arc Advisor
LOL...
Do you want to enable the macros for ALL users on that machine? If so put personal.xls in folder C:\Program Files\Microsoft Office\Office 14\XLStart\ instead. Of course you have to modify Quick Access bar again. But only once!

That's to easy!

Thanks.
So that's what you want? Works great?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Home Premium 64-bits 7601...Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz4,00 GBATI Mobility Radeon HD 5400 Series
Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Back
Top