- #COPIED LINKS INSTALL#
- #COPIED LINKS UPDATE#
- #COPIED LINKS MANUAL#
- #COPIED LINKS CODE#
- #COPIED LINKS WINDOWS#
If you want to make your linking strategy more flexible, you can always use the INDIRECT function. (Excel won't allow you to open multiple workbooks with the same name.) You could work with them independently, as long as you don't try to open the same workbook from both months at the same time.
You would then have duplicate copies of the workbooks in separate folders.
Under this scenario, you could have a November folder, and then make a copy of the whole folder and name it December. In other words, don't have the filenames reflect the month, but put all the workbooks for the month in a single folder that is named after the month. In the Replace With box, enter the root portion of the new worksheet name (2011DecemberB).Įxcel goes through the entire worksheet-including the links-and makes changes to the appropriate text.Īnother approach is to deal with your monthly files as a whole.In the Find What box, enter the root portion of the old worksheet name (2011NovemberB).Press Ctrl+H to display the Replace tab of the Find and Replace dialog box.Fortunately you can use the Find and Replace features of Excel to help in this task:
#COPIED LINKS MANUAL#
If saving the files under new names in Excel is not possible for some reason (perhaps someone else already made a copy of the workbook for the new month and made changes in the file) then you will need to resort to doing some manual editing of the links. When you then save 2011DecemberA.xls (step 3), you complete the cycle and end up with the new workbooks for the new month, with the past month's files still secure on disk.
#COPIED LINKS WINDOWS#
A simpler way is to bypass Windows and do the saving in Excel. This, however, is the way to guarantee that you do the most work in updating the files. To prepare workbooks for the new month, most people will open a Windows folder and copy the workbook files within Windows, not even in Excel.
#COPIED LINKS UPDATE#
When it comes time to copy the workbooks for the new month, you may be wondering about the best way to update all the links in the first workbook so they point to the second workbook for the new month.
#COPIED LINKS CODE#
TodoĪutomated tests are not currently included in this code for this repository.Let's say you have two workbooks that you use for tracking sales in the current month, 2011NovemberA.xls and 2011NovemberB.xls, and that 2011NovemberA.xls contains links to data in 2011NovemberB.xls. Like that plugin, this plugin is released under the MIT license. This plugin's documentation setup is based off of the Obsidian Tasks plugin by Martin Schenck.