using word constants

T

thalos

lol

I use Word 2000 and try to learn VBA .

Selection.Goto wdGotoLine , wdGotoFirst

In the help menu I have found that Selection is a object , Goto is a
method but on wdGotoline and wdGotoFirst I have no one explication in
the hepl menu .
I don't know how to use this kind of word constant (wdLine ,
wdGotoLast... ) .
Have somebody a data file wich explains this ?
Thanks .
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Thalos,

If you click on Example at the top of the Help information on the GoTo
Method, you will see a number of examples on how to use the method and the
wdGoToItem constants.

I realise, that the meaning of some of the wdGoToItem constants may not be
so clear it English is not your mother tongue.

If there are particular ones that you do not know what they mean, let us
know which ones it is and we will try and explain for you.

You should however try and use the .Range object rather than the Selection
object, particularly for anything that is repetitive as you code will
execute a lot faster if the selection does not have to be moved through the
document.
--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 
T

thalos

How to post to the newsgroup ?
Where is your paid consulting basis?
Otherwise thanks for your answer
 
M

Mark Tangard

1. You ARE posting to a newsgroup.
2. Newsgroup advice is free and the people who provide it are not paid.
3. Nobody here works for Microsoft, so "your" is not the appropriate term.
4. If you need paid support, call Microsoft.
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

As Mark points out, you have posted to the newsgroup.
I answer questions posted to the newsgroups without requiring any payment.
However, if you send a question directly to my email address instead of to
the newsgroup, then you should expect to have to pay for the answer. The
basis for payment would depend upon the question.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top