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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. HowdeeDoodee

    VBA Word: Need to find, select, and tag groups of blue words

    This issue has been solved. Mods, could you please mark as solved in the thread title? Thank you.
  2. HowdeeDoodee

    VBA Word: Need to find, select, and tag groups of blue words

    I developed a solution for this issue and here it is. A macro to put xxx at the right of the word. Selection.Find.ClearFormatting With Selection.Find .Text = "?" .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = True...
  3. HowdeeDoodee

    VBA Word: Need to find, select, and tag groups of blue words

    OK, let's try this again. Before macro is run "In every attempt, one must] take risks. Being able to take risks must be learned from the experience of not only succeeding but also of failing. To learn to fail and come back again is an incredible life lesson." After macro is run "In every...
  4. HowdeeDoodee

    VBA Word: Need to find, select, and tag groups of blue words

    Well, shoot. I was trying to color the words blue in the above post and then show how the xxx and zzz tags are to be inserted before and after the blue words when the macro is run. I am sure Tek Tips has a way of letting the users edit but I cannot find it.
  5. HowdeeDoodee

    VBA Word: Need to find, select, and tag groups of blue words

    Thank you skip for the code. As I indicated in the first post, I need to find groups of text in blue, not just individual characters or even individual words. The blue characters to be found would be like words that are underlined in the following passage. Before macro is run "In every...
  6. HowdeeDoodee

    VBA Word: Need to find, select, and tag groups of blue words

    I have a library of e-documents I need to convert to another format. In each of the documents I have words in blue font. The groups of blue words can be any length, from 1 word up to 100 words or more. I need a way to loop a vba word macro so the macro selects the groups of blue words and puts a...
  7. HowdeeDoodee

    How to make recorded macros in Word STOP

    OK, I got it working. I took out all of the Selection.Find.Execute lines except in the last part of the code. Here is the working code. Sub FindSpaceDashSpace2Bold() ' ' FindSpaceDashSpace2Bold Macro ' Selection.Find.ClearFormatting Do Selection.Find.Font.Bold = False With...
  8. HowdeeDoodee

    How to make recorded macros in Word STOP

    Yes, skip I tried everything. Perhaps I should have posted all the failures but for the sake brevity, I left them out of the initial post. Who wants to see what does not work?
  9. HowdeeDoodee

    How to make recorded macros in Word STOP

    OK, after much experimentation I need help on making this modified recorded macro stop executing when the macro reaches the bottom of the Word file. Currently, the macro runs continuously without stopping. Thank you in advance for any replies. Sub FindSpaceDashSpace2Bold() ' '...
  10. HowdeeDoodee

    How to make recorded macros in Word loop

    Thank you for the suggestions. Both work fine. I am doing document conversions going from non-Word format, to Word format, to Excel, to MySql. This is why one "cannot imagine" why I am doing what I am doing. :) Thank you again for the help
  11. HowdeeDoodee

    How to make recorded macros in Word loop

    I want to make the following MS Word macros loop and stop at either the top of the file or the bottom of the file. Thank you in advance for your replies. ----------------------------------- Macro 1 ' 'This macro does not stop when the bottom of file is reached. I want this macro to stop...
  12. HowdeeDoodee

    How can I iterate using a For loop in an onclick event?

    cLFlaVA, thank you again for the help. Is is possible to add a second button and make the iteration go backward in the list instead of forward. Thank you again.
  13. HowdeeDoodee

    How can I iterate using a For loop in an onclick event?

    Excellent, cLFlaVA. Yes, the code works. Thank you very much. Keywords: javascript, iterate through a list with javascript, display a list item by item
  14. HowdeeDoodee

    How can I iterate using a For loop in an onclick event?

    Thank you for the post. I pasted in your div id tag exactly as you wrote the tag. First, I pasted the div id in above the script tag, below the script tag, and inside the tags. In every case I still get an error. I am using FP so all I get is the standard error screen with no way to track down...
  15. HowdeeDoodee

    How can I iterate using a For loop in an onclick event?

    Thank you for the above posts. The code is producing an error but I do not know how to troubleshoot or fix the issue. Can you look at the code and try to determine the cause of the issue?
  16. HowdeeDoodee

    How can I iterate using a For loop in an onclick event?

    How can I iterate through the variables below and display only one sentence on the screen at a time, using a button onclick event to trigger the display of the sentence. As the code is written now, all four sentences display on the screen at one time and there is no button. Thank you in advance...
  17. HowdeeDoodee

    Can you debug this LOCATE statement?

    Jeff, thank you. You are correct. In my effort to illustrate, I substituted variable names for real values. My mistake in posting. However, results or output are the same and the issue remains unsolved.
  18. HowdeeDoodee

    Can you debug this LOCATE statement?

    Thank you for your interest and the posts... OK, here you go.. Searching for the strings with a comma in the string using phpMyAdmin... SELECT * FROM ViewNew WHERE LOCATE(',', `References`) > 0 AND LOCATE('". 30 Spindle 10: . "', `References`) > 0 AND ". 10 ." BETWEEN...
  19. HowdeeDoodee

    Can you debug this LOCATE statement?

    As always, I tried pasting the LOCATE statement in phpMyAdmin and got no errors. The troublesome LOCATE statements are posted at the top of this thread.
  20. HowdeeDoodee

    Can you debug this LOCATE statement?

    DRJ478... Thank you for the post. Can you help me by explaining how your suggestion regarding the switch statement relates to the purpose of the thread...i.e., debugging the LOCATE statement?

Part and Inventory Search

Back
Top