When wanted to save it it asked me the name and the folder to save I have first started using Excel 3 years ago on daily basis and made my first macro line then. If you happen to be stuck running Excel 2003 on a Windows XP box, you’ll find PERSONAL.XLSB at this path: C:\Program Files\Microsoft Office\Office11\XLSTART\ So “Office 12” is Office 2007, “Office 11” is Office 2003, and so on. It’s actually the 13th version of Office, but Microsoft saw fit to skip naming it Office 13, due, one suspects to superstition. “Office 14” is the internal name for Office 2010. Still, for whatever value it might have, here are some paths I’ve noticed:įor Excel Microsoft 360 Apps for Enterprise: C:\Users\USERNAME\AppData\Roaming\Microsoft\Excel\XLSTARTįor Excel 2010: C:\Program Files\Microsoft Office\Office14\XLSTART\įor Excel 2007: C:\Program Files\Microsoft Office\Office12\XLSTART\ For these reasons, using the VBE to determine the path is the best approach. Roaming profiles also complicate matters. Different versions of Excel store it in different places. The location of the Personal Macro Workbook is a little confusing. Some Additional Details for the Truly Nerdy Doing either will change the what is displayed in the Touch Bar, hiding the function keys. Nor can your hold fn+option down and then click F11. You can’t hold fn down and then click the other two keys. The trick, for me, once I had–in System Preferences –> Keyboard –> Shortcuts–specified Excel, per the article, as an app for which the function keys should appear, was to quickly and simultaneously press fn+option+F11 to open the VBE. This support article from Apple helps a bit. If you are using a MacBook Pro with a Touch Bar, getting the function keys to be visible and useful can be tricky. In Excel Preferences, choose Ribbon & Toolbar.Microsoft Excel for Mac on macOS Monterey: In the right pane, check the box to the left of Developer in the Main Tabs section.In Excel Options, in the left pane, choose Customize Ribbon.Turning on the Developer TabĪn easier way to get into the VBE is via the Visual Basic button in the Code group on the Developer tab of the Ribbon. The path to the XLSTART folder will appear, even if it is hidden in Windows. If the immediate window is not visible, press ctrl+command+g to make it so.In the immediate window, type ?Application.StartupPath.If the immediate window is not visible, press ctrl+g to make it so.The only difference is the shortcut keys you use to interact with it. These days, both the Mac and Windows versions of Excel support VBA and have basically the same VBE. The best way to find the path–hat tip to commenter Kevin Woodward–is to use the Visual Basic Editor (VBE). Once you create it, your Personal Macro Workbook will be listed in the VBA Editor as “VBAProject (PERSONAL.XLSB)”. Afterwards, you can open up the Personal Macro Workbook via the Visual Basic button on the Developer tab later and delete whatever you record. Record yourself typing a few numbers and adding some formatting to them or something similar. Instead, just record a macro in Excel and, when you’re prompted to save it, choose Personal Macro Workbook from the Store Macro In drop-down menu on the Record Macro dialog box. In either case, the easy way to create PERSONAL.XLSB is not to muck around with the file system directly. On Windows XP, it lives here: C:\Documents and Settings\Application Data\Microsoft\Excel\XLSTART\PERSONAL.XLSB On Windows 7, it lives here: 3 C:\Users\AppData\Roaming\Microsoft\Excel\XLSTART\PERSONAL.XLSB On my install of Windows 10, running Excel 2016, it lives here 1 2: C:\Users\wheatbread\Roaming\Microsoft\Excel\XLSTART\PERSONAL.XLSB Where it lives, though, is a moving target. If you use Microsoft Excel, and you have a macro that you want to be available globally–in any open workbook–you can place it in your Personal Macro Workbook, which is just an Excel Workbook (in binary, XLSB, format, for speed) that lives at a particular location, where Excel will look for it whenever it launches. It has long been the most popular post on the site. Sometimes I blog things mostly so I can remember them and in the off chance that they might be useful to others.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |