Hi Everyone,
I'm new to the forum and also a relative novice with Excel VBA. I'm trying to speed up the process of changing names in a energy modeling software that I use (eQuest) by going to the back-end code. I've tried to record a macro with find & replace, but it wasn't really saving me time. To be specific, I need to take the name of a space/room and use it to help name a zone that the space is associated with. I would also like to add a prefix to the zone name such as "TZ_" to differentiate it from the space/room name. For example, let's say I have an office called "Office 215", then I want to find the zone that is associated with that space and change it to "TZ_Office 215." I'm attaching a file (HVAC_Code.xls) which consists of the spreadsheet that I have been testing with. What I would like help with is how do you create VBA program/code that takes the space name (see cell A29), adds a prefix "TZ_" and then replaces the existing zone name (see cell A20). Please note that I also have to preserve some keywords that the energy modeling program requires after the names, i.e. = ZONE or = SPACE. Any information, guidance you can provide to educate me on how to do this would be greatly appreciated.
Thanks,
-Eric
Bookmarks