I'm wondering if there are any smart techies who might be able to help me with some code. |
|
I'm wondering if there are any smart techies who might be able to help me with some code. |
|
Well, a fairly non-simple macro-free way to do it is to use wildcards in the Find and Replace dialog box. First, click "Replace" on the Home tab (assuming you're in Word 2007 or later. If not, then press CTRL+F to go to Find, and then click the tab for Replace). Then, click "More >>" at the bottom. Check the box next to "Use wildcards". Then, fill in the fields like so: |
|
"Going through life worrying about the little things is like cooking with motor oil instead of cooking oil. Sure, you can still probably pull it off, but it'll leave a bad taste in your mouth in retrospect." - Me, apparently
2015: 101 LDs, 2016: 114 LDs, 2017: 38 LDs, 2018: 20 LDs, 2019: 8 LDs
DreamViews Discord!
Nice find and replace idea, spellbee2, thanks! I've whipped up a Word macro that uses your excellent wildcard idea along with additional special code for adding two-word usernames or usernames with special characters. It also appears that names with underscores confuse that "find" wildcard pattern. |
|
Last edited by CanisLucidus; 09-11-2014 at 05:19 PM.
Thank you sooo much, spellbee! This was super helpful! |
|
Last edited by ~Dreamer~; 09-11-2014 at 05:15 PM.
"Going through life worrying about the little things is like cooking with motor oil instead of cooking oil. Sure, you can still probably pull it off, but it'll leave a bad taste in your mouth in retrospect." - Me, apparently
2015: 101 LDs, 2016: 114 LDs, 2017: 38 LDs, 2018: 20 LDs, 2019: 8 LDs
DreamViews Discord!
Perhaps it's just a silly question of mine, but How safe is to allow the use of macros in MS word? As far as I can remember there were always problems that exploited this function activated in this program, and that was one of the reasons why I didn't mind the use of this feature when I had it at hand, although I see it could be very useful under certain circumstances. Anyway, just wondering. |
|
Bookmarks