No, the previous version of the document was from about an hour before.
I know where the code is located, (after all I had been stepping through the macro, as I said in my original post) and when I went back there, it was as if I had never recorded or written a single macro. Just to be sure...
I was just testing a new VBA macro in word, running it in the debugger step by step, and it reached an "insert hyperlink" statement which crashed word. After a while it seemed to recover, but the cursor was a long way away from where it had been, I needed to go to the end of the document which...
I have some text (actually a lot of text, about 300 pages) which has been "dumbed down" to flat ASCII and anything that was in italics has been surrounded by [brackets].
I have imported this text into Word, and since I am not a VBA expert, I'd like to write a simple VBA macro to remove the...
If I create a HyperLink at the front of a Word document, which points to a location further down the document, it works fine - ctrl-click on it and it goes there. And when I save it as html the link works, and the 'from' and 'to' parts are correct.
Today I tried to delete a hyperlink of this...
Wow, is it that easy to use regular expressions in VBA? I though you had to shell out to something external like vbscript. I will try it.
One small question, how does VBA know the search string you specified is a regular expression and not just a string of characters to be searched? For...
I have a need (I wont bother you with why) to find the next occurrence of three or more adjacent capital letters in the text of a Word document. I know I can loop through the text character by character but that approach is unbelievably slow. Is there a better method? I am using Office 2007.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.