Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Lista Forumurilor Pe Tematici
|
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login
POZE MRRRR'S FORUM (VIEW ONLY)
Nu sunteti logat.
|
Nou pe simpatie: Angelina20
 | Femeie 19 ani Cluj cauta Barbat 24 - 55 ani |
|
TRaP
Moderator
Inregistrat: acum 7 ani
Postari: 822
|
|
Normally you can create macros in a file similar to Excel's PERSONAL.XLSB file that starts with any Excel file.
Now, unless you want to save your PPTX file as PPTM, you must create an add-in and activate it/load it.
With an add-in you must create a custom ribbon with your macros, otherwise they will not be visible in QAT - More Commands - Macros (only macros in currently open file are visible there apparently).
1. Create a PPTM file with your macros
2. Add your custom macros as buttons in a ribbon using Office RibbonX Editor: - as button images, you can either add your own to the PPTM file in RibbonX, or use one from here: - when using your own images, use "image" as tag in RibbonX (without quotes) and when using an image from default ones use "imageMso" instead
3. Save your PPTM file as PPAM in the default location
4. Load the PPAM add-in
5. Right click a button from the custom ribbon and select Add to Quick Access Toolbar
Example of RibbonX XML code:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> <ribbon startFromScratch="false"> <tabs> <tab id="customTab" label="Mrrrr"> <!-- insertBeforeMso="TabHome" --> <!-- My Macros Group --> <group id="customGroup1" label="Toni's Macros"> <button id="customButton1" label="Spaces After Para" image="ParagraphSpacingAfter" size="large" onAction="Spacing_After_0_4_8_12" /> <button id="customButton2" label="Spaces Before Para" image="ParagraphSpacingBefore" size="large" onAction="Spacing_Before_0_4_8_12" /> <button id="customButton3" label="Bull 1,24 Hang 0,74" imageMso="BulletListDefault" size="large" onAction="Bullet_Indentation" /> </group> <!-- Useful Commands Groups --> <group id="customGroup2" label="Paste"> <splitButton idMso="PasteMenu" size="large" /> </group> <group id="customGroup3" label="Font Style and Size"> <comboBox idMso="Font" sizeString="XXXXXXXXXXXXXXXXXXXXX" /> <comboBox idMso="FontSize" /> <gallery idMso="FontColorPicker" size="normal" /> </group> <group id="customGroup10" label="Text"> <button idMso="PasteTextOnly" imageMso="PasteTextOnly" size="normal" /> <button idMso="PasteAsPicture" imageMso="PasteAsPicture" size="normal" /> <button idMso="ParagraphDialog" imageMso="ParagraphDialog" size="normal" /> <toggleButton idMso="Subscript" size="normal" /> <toggleButton idMso="Superscript" size="normal" /> <toggleButton idMso="TextBoxInsert" label="Text Box" size="normal" /> <toggleButton idMso="Strikethrough" size="normal" /> <button idMso="FontSizeIncrease" size="normal" /> <button idMso="FontSizeDecrease" size="normal" /> <toggleButton idMso="Bold" size="normal" /> <toggleButton idMso="Italic" size="normal" /> <toggleButton idMso="Underline" size="normal" /> </group>
<group id="customGroup11" label="Images + Shapes"> <toggleButton idMso="PictureCrop" label="Crop" imageMso="PictureCrop" size="normal" /> <gallery idMso="OutlineColorPicker" size="normal" /> <gallery idMso="ShapeFillColorPicker" size="normal" /> <button idMso="ObjectsGroup" size="normal" /> <button idMso="ObjectsUngroup" size="normal" /> <button idMso="PictureSetTransparentColor" size="normal" /> </group> <group id="customGroup12" label="Slide Master"> <!-- <toggleButton idMso="ViewNormalViewPowerPoint" size="large" /> --> <!-- dispar thumbnails --> <toggleButton idMso="ViewSlideMasterView" label="Slide Master View" size="large" /> <toggleButton idMso="SelectionPane" label="Selection Pane" size="large" /> <checkBox idMso="ViewGridlinesPowerPoint" label="View Gridlines" /> <button idMso="SetLanguage" /> </group> <group id="customGroup13" label="Save + Options"> <button idMso="FileSaveAs" label="Save As" size="normal" /> <button idMso="AddInManager" label="Add-Ins" size="normal" /> <toggleButton idMso="AutoSaveSwitch" label="Autosave?" /> </group> </tab> </tabs> </ribbon> </customUI> |
|
|
pus acum 11 zile |
|