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 Mike Lewis 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. Pegasus0990

    deleting bookmarks

    i 'now' fully understand the difference between a bookmark by location vs one that includes text. i had not realized how to make one which included text. simply a matter of highlighting what i want bookmarked, and clicking 'insert bookmark,' vs clicking on a location (no highlighting) and...
  2. Pegasus0990

    deleting bookmarks

    wow, macropod, awesome, thanx a lot. fumei, i believe the nesting bookmarks you mention are actually 'fields.' i was looking at this, but didnt actually understand how to set it up. CTRL-F9 brings it up but then it suggests entering something like {SET bookmark1 "blah blah"} but, bookmark1...
  3. Pegasus0990

    deleting bookmarks

    maybe my inexperienced is the simple issue here. how i made my bookmarks. 1. insert bookmark, ie 'bookmark1' 2. set up code inside of Microsoft Word VB. this code pulls infomation from Microsof Excel. this works great. but when the code should not be pulled (if-then) statement, it is suppose...
  4. Pegasus0990

    deleting bookmarks

    that is exactly what i want macropod. but for some reason, it is only deleting the first character after bookmark1. any guess as to why?
  5. Pegasus0990

    deleting bookmarks

    macropod and fumei when i use your code, it only deletes "bookmark1" and "1" but not the rest. this is what is left. .01a Question 1 *#Answer 1 COA *$COA1 i know what something 'nested' is fumei, but could you give me an example of what a nested bookmark looks...
  6. Pegasus0990

    counting of characters in order to delete them

    when i use the delete function it works, deletes bookmarks, characters, tabs, spaces, etc. the following works well because it will do everything i desire but for just one line. i am looking for something to delete around six lines at once (and it is not one paragraph)...
  7. Pegasus0990

    deleting bookmarks

    thread707-1009355 the basic solution was the following. it works great but is there a easy way to expand it to satisfy my question below? I modified the original slightly to adjust to my code. Selection.GoTo What:=wdGoToBookmark, Name:="bookmark1" Selection.Bookmarks("\Line").Range.Delete...
  8. Pegasus0990

    counting of characters in order to delete them

    2) if i do "Wordcount" in Microsoft Word it gives me a certain amount of characters that exist in my document. but if i tell my code to delete that many characters as in Selection.Delete Unit:=wdCharacter, Count:=1996 even if my document says that there are 1996 characters, it acutally...
  9. Pegasus0990

    help with redundant code

    1) when you see the following ' first part ..... then 'second part i will have to use this code over 100+ times. is there a good way to decrease the total amount of code? Note, I am using unique bookmarks in each one for code insertion. and if the instance is "yes" then it deletes all the...
  10. Pegasus0990

    vbNewLine

    What is the opposite of vbNewLine for visual basic?? I am trying to delete lines in certain cases. thank you for your help.
  11. Pegasus0990

    VB forms freezing (using a differenct computer then before)

    apoligies fumei i avoided the obvious plan of attack because i swore my code was correct/unchanged since a few months ago. i simplied the code by first taking out the loop and it worked fine. my loop was my issue. when i changed it from "20 to b" to "b to 20" the loop worked fine. my best...
  12. Pegasus0990

    VB forms freezing (using a differenct computer then before)

    i thought i was answering your question, my apoligies for not stating the info that you requested. i do appreciate your attempt though. i understood it was outputting my data in reverse order. this is intended. when i go into my Word VB, and click "run sub/userform" then my form pops up. when...
  13. Pegasus0990

    VB forms freezing (using a differenct computer then before)

    i am using version 6.3 and have not changed versions. //here is the code for my Excel file//when the Word Macro is ran, it is suppose to grab data from Excel and insert it into the "bookmark1" location//Basically, when a value of the C column="no" then the data is sent to the A column, where...
  14. Pegasus0990

    VB forms freezing (using a differenct computer then before)

    when running the macro and having watches, the value of "B20" is exactly what it should be (from excel). and the value for both of my variables ("i" and "b") are exactly what they are suppose to be. now i had this exact code working a few months ago. i swapped computers, now it just freezes...
  15. Pegasus0990

    Word-Excel not playing nice together :(

    i have not touched this code in a couple of months, but now i am on a different computer. when i use to push the 'command button' all the data i was trying to get from excel was passed to word. however now, when the 'command button' is pushed, it just accepts getting pushed, then freezes. i can...
  16. Pegasus0990

    VB forms freezing (using a differenct computer then before)

    Gerry, thanx for the reply. i am new to VB and slowly learning the ways. what is the proper code to make the form and the instance of Excel to end?
  17. Pegasus0990

    VB forms freezing (using a differenct computer then before)

    i have not touched this code in a couple of months, but now i am on a different computer. when i use to push the 'command button' all the data i was trying to get from excel was passed to word. however now, when the 'command button' is pushed, it just accepts getting pushed, then freezes. i can...
  18. Pegasus0990

    looping issue

    my issue is resolved, thanx for all help.
  19. Pegasus0990

    looping issue

    excuse my inexperience, but how can i test what the value of "b" is. now i realize u are talking about the set procedures of the "Debug" option in VB, but other then that, im confused how to get an output shown.

Part and Inventory Search

Back
Top