Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dasmotiu

  1. dasmotiu

    Lost all my macros

    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...
  2. dasmotiu

    Lost all my macros

    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...
  3. dasmotiu

    put bracketed text in italics

    Thank you, I changed about 500 instances of that in about 2 seconds. I am extremely glad to have joined this board.
  4. dasmotiu

    put bracketed text in italics

    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...
  5. dasmotiu

    How to remove invisible html anchor

    I forgot to say it's Word 2007
  6. dasmotiu

    How to remove invisible html anchor

    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...
  7. dasmotiu

    Find uppercase text

    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...
  8. dasmotiu

    Find uppercase text

    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.

Part and Inventory Search

Back
Top