W
Webtechie
Hello,
I've been programming with VBA for a number of years now, only with Excel.
I am now creating a report with Word. I am trying to do something as basic as
1) Open a document
2) Go to the end of the document
3) Insert of new page
It is appears from the macro recording that I need to use
Selection.endkey unit:=wdstory
Question:
What is selection? I don't see any books on programming in Word. In Excel,
selection is cells that you have selected.
Why am I using selection.endkey, when I haven't selected anything?
Is this the right way to program an application to go to the end of the
document or to find out where I am at in the document?
Thanks,
I've been programming with VBA for a number of years now, only with Excel.
I am now creating a report with Word. I am trying to do something as basic as
1) Open a document
2) Go to the end of the document
3) Insert of new page
It is appears from the macro recording that I need to use
Selection.endkey unit:=wdstory
Question:
What is selection? I don't see any books on programming in Word. In Excel,
selection is cells that you have selected.
Why am I using selection.endkey, when I haven't selected anything?
Is this the right way to program an application to go to the end of the
document or to find out where I am at in the document?
Thanks,