Hello
I created a macro and save it as *.xlam, but I can't add it in excel.
In book Excel 2007 Bible is description how to do it, but I'm doing something wrong.
Books description:
1. Create a folder named customUI.
2. Inside of that folder, create a text file named customUI.xml, with the following XML code:
3. Locate and select your XLAM file in Windows Explorer. This example assumes that the file isHTML Code:
named change case.xlam.
4. Add a .zip extension to the file by pressing F2 and then changing the filename to changecase.
xlam.zip.
5. Drag the customUI folder you created in Step 1 into the change case.xlam.zip file.
(Windows treats ZIP files as if they were folders.) Figure 45.6 shows the contents of the change
case.xlam.zip file.
6. Double-click the rels folder within the ZIP file. This folder contains one file, .rels.
7. Drag the .rels file to a location outside of the ZIP file (your Desktop, for example).
8. Open the .rels file (which is an XML file) with a text editor, such as Notepad.
9. Add the following line to the .rels file, before the </Relationships> tag:
<Relationship Type=”http://schemas.microsoft.com/office/2006/
relationships/ui/extensibility” Target=”/customUI/customUI.xml”/>
10. Drag the .rels file back into the ZIP file, overwriting the original version.
11. Remove the .zip extension so that the file is back to its original name: change case.xlam.
After this is done, just go to options>add-ins and than select my macro.
Than I get an error that file extension is not right.
Can someone help me.
Is there any other less complicated way to do it.
Thanks
Bookmarks