Step 2: Click Module on the Insert tab, copy and paste the following VBA code into the Module window Step 1: Press “ Alt-F11” to open the Microsoft Visual Basic for Application window ( Note: if you want to replace all curly quotes with straight quotes, please clear "Straight quotes" with "smart quotes" check box). To replace all straight quotes with curly quotes in Word 2010 with using VBA, please click File> Option > Proofing and click AutoCorrect Options and select the "Straight quotes" with "smart quotes" check box as follows first. Note: if you want to replace all curly quotes with straight quotes, please clear "Straight quotes" with "smart quotes" check box).Ĭhange straight quotes to curly quotes with VBA Click Home > Replace in the Editing group or press Ctrl + H to display Find and Replace dialog, and enter ‘or ‘’ in Find what box, and enter ‘ or ’’in Replace with box. Click > Option > Proofing > Auto Correct Options > AutoFormat As You Type, and select “Straight quotes" with "smart quotes" check box. ![]() And in Word 2007, applying Auto Correct Options by clicking > Options > Proofing > Auto Correct Options. In Word 2003, Auto Correct Options is under the Tool bar. Before applying Find and Replace, you should go to Auto Correct Options to uncheck the "Straight quotes" with "smart quotes" check box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |