Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default macros in ribbon no longer work

Howdie all.
My colleague's ribbon macros are no longer working.
I've been working through his vba code, and checking each macro to see if
the code somehow got corrupted. So far all is clean, with no obvious errors.
I then rewrote one of macros from scratch and it works fine-- in both the
xml- ribbon, and in the vbe.
I then brought my ribbon over from my system(been working great, no errors)
to his and tried it. My ribbon, on his system, does not work now.
So far, we've checked the excel options, made sure that the macros are
enabled, no warnings, etc....
I've also tried opening the xlam files in XML Notepad, and I get the
following error message for all the xlam files.

Error loading C:\.......\filename.xlam
Data at the root level is invalid Line 1, position 1
would you like to open it with Notepad?

With the first file I said yes, and it opened up a file in notepad that
looked more like background computer gibberish- characters in no specific
order-- than it did my xml file.
I even tried opening my xlam file from my system and it go the same error
message. The weird thing isthat I'd taken my xlam file home months ago and
tried it in xml notepad there, with no errors of any kind. And the files all
open fine in CustomUI Editor, with no errors.

I've been reading more with the fairly new Ken Puls-R.Martin-T.Hennig Book-
RibbonX, and have tried some of the fixes, but it's still not working.

It's as though the macros have been unenabled in Excel, and regardless of
what I try-- make a new xml/xlam file, copy, rewrite from scratch, etc....
the entire code, the macros just no longer work.
I've reset the enable macros in options.

Have you ever seen where ribbon macros just fail, and no longer work?
Ifso, what kinds of fixes have you found that work?

Thank you.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default macros in ribbon no longer work

Don't knoiw why macros not run on friends machine but

"I've also tried opening the xlam files in XML Notepad, "

xlam file is not xml. it is a zip that holds many files, some xml and some
not. so it not open right in xml notepad.

"And the files all open fine in CustomUI Editor, with no errors."

that editor is not xml editor but a specal program that pull ribbon xml from
'customui.xml' file in xlam for changing and save it back.

H


"Steve" wrote in message
...
| Howdie all.
| My colleague's ribbon macros are no longer working.
| I've been working through his vba code, and checking each macro to see if
| the code somehow got corrupted. So far all is clean, with no obvious
errors.
| I then rewrote one of macros from scratch and it works fine-- in both the
| xml- ribbon, and in the vbe.
| I then brought my ribbon over from my system(been working great, no
errors)
| to his and tried it. My ribbon, on his system, does not work now.
| So far, we've checked the excel options, made sure that the macros are
| enabled, no warnings, etc....
| I've also tried opening the xlam files in XML Notepad, and I get the
| following error message for all the xlam files.
|
| Error loading C:\.......\filename.xlam
| Data at the root level is invalid Line 1, position 1
| would you like to open it with Notepad?
|
| With the first file I said yes, and it opened up a file in notepad that
| looked more like background computer gibberish- characters in no specific
| order-- than it did my xml file.
| I even tried opening my xlam file from my system and it go the same error
| message. The weird thing isthat I'd taken my xlam file home months ago and
| tried it in xml notepad there, with no errors of any kind. And the files
all
| open fine in CustomUI Editor, with no errors.
|
| I've been reading more with the fairly new Ken Puls-R.Martin-T.Hennig
Book-
| RibbonX, and have tried some of the fixes, but it's still not working.
|
| It's as though the macros have been unenabled in Excel, and regardless of
| what I try-- make a new xml/xlam file, copy, rewrite from scratch, etc....
| the entire code, the macros just no longer work.
| I've reset the enable macros in options.
|
| Have you ever seen where ribbon macros just fail, and no longer work?
| Ifso, what kinds of fixes have you found that work?
|
| Thank you.
|

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Ribbon won't work pspannuth Excel Discussion (Misc queries) 0 February 4th 10 03:30 PM
Links no longer work Scott D Excel Discussion (Misc queries) 12 June 3rd 09 04:05 PM
Lost callbacks(?) and now custom ribbon doesn't work owlnevada Excel Programming 0 April 2nd 09 10:31 PM
My links no longer work . . . mike Excel Discussion (Misc queries) 8 October 27th 05 11:59 PM
Keyboard shortcuts no longer work gman100 Excel Discussion (Misc queries) 5 June 15th 05 03:36 PM


All times are GMT +1. The time now is 12:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"