July 23rd, 2005, 05:33 PM
|
#1 (permalink)
|
| Junior Member
Join Date: Jul 2005 Location: Port Orchard, WA
Posts: 22
| Select specific/any Cell with VB?
ok, i am trying to make a macro in word, and the way i understand it,
Selection.SelectCell
will select the cell that your cursor is currently in. so i thought
ThisDocument.MainTable.A3.SelectCell
would select the cell in the third row of the first column, A3. but i was wrong, and i am not quite sure how to accomplish that. my goal is to just run a simple formula in some cells on a table in microsoft word 2000. I bookmarked the table as MainTable. i also tried this with taking out ThisDocument., and just starting with MainTable.A3.
all i need is that simple line that says select a certain cell in a certain table!  thanks!
btw, my macro works just as long as i click on the first cell, but i would like to not have to select a certain cell in the table everytime i click the macro button. sometimes i foget then i get numbers in all the wrong places, cause i just tell it to move to the next cell by cursor movements... |
| |