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