This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub StraightQuotes2CurlyQuotes | |
' Kudos to David for main code: https://gist.github.com/dajare/3924560 | |
' Kudos to Villeroy for simpler, better find patterns: | |
' https://forum.openoffice.org/en/forum/viewtopic.php?f=30&t=39902 | |
' Kudos to Kaloian Droganov for how to make the macro atomic: | |
' http://stackoverflow.com/questions/853372/how-to-make-a-macro-atomic | |
rem ---------------------------------------------------------------------- | |
dim document as object | |
dim dispatcher as object | |
dim undo as object |