472,129 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,129 software developers and data experts.

Word

using Word automation from vb.net how can I get to the bottom of the
document?

Thanks,
Richard
Nov 20 '05 #1
56 3215
Hello,

"Richard Grene" <rg****@s4si.com> schrieb:
using Word automation from vb.net how can I get to the
bottom of the document?


Ask in the Word ng:

news://news.microsoft.com/microsoft....rd.vba.general

The solution can be translated to VB.NET...

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2
On Mon, 8 Sep 2003 13:39:19 -0400, "Richard Grene" <rg****@s4si.com> wrote:

¤ using Word automation from vb.net how can I get to the bottom of the
¤ document?
¤

WordApplication.Selection.EndKey(Word.WdUnits.wdSt ory)
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #3
How can I change the font of text I am inserting into Word. I only want
the inserted text to use the new font and all other existing text to
keep it's original font.

Thanks,
Richard

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #4
"Fergus Cooney" <fi******@tesco.net> schrieb
Hi Armin,

I'm getting more curious.

Herfried said
|| Ask in the Word ng:
|| news://news.microsoft.com/microsoft....rd.vba.general

He said this several hours ago.

Now you're saying:
|| As Herfried suggested, you should ask in the Word VBA group
|| because it is a question about the Word object model.

I really don't understand who gains from this post.
Richard. BTW, I really don't understand who gains from _your_ post.

Are you supposing that this person is stupid and needs to be told
twice?
Herfried's hint was about 2 hours earlier than Richard's second post, so
Richard probably overlooked Herfried's reply, that's why I referred to
Herfried's hint to turn to the other group.
Do you get some kick out of seeing your name in posts?
Are you trying to get your hit count up in Google Groups?

*LOL* I'd say _you_ are the one creating the most OT threads lately, so,
please, don't try to tell me what to do, ok? And, to answer the questions:
no.

I have written a post to Cor but it applies to you.
You will disagree and I am interested in what your views will
be.

Topic: Syntax Error in INSERT INTO Command


Mostly I don't participate in all these OT threads. Unfortunately they are
increasing my download times by an undesirable amount lately. :-(
--
Armin

Nov 20 '05 #5
Hello,

"Fergus Cooney" <fi******@tesco.net> schrieb:
I'm getting more curious.
;-)
Herfried said
|| Ask in the Word ng:
|| news://news.microsoft.com/microsoft....rd.vba.general

He said this several hours ago.

Now you're saying:
|| As Herfried suggested, you should ask in the Word VBA group
|| because it is a question about the Word object model.

I really don't understand who gains from this post.
I think Richard didn't really understand _why_ I told him to ask in the
Word ng. In the Word ng, he will more likely get an answer. The
question is mostly related to Word VBA, not VB.NET.
Are you supposing that this person is stupid and needs to
be told twice?
Ha... In the German ngs people who do not post with a realname don't
get an answer. I and some others tell them that they should post with a
realname. Some of them change their name into a realname quickly,
others still post with the "nickname". Nevertheless, there were some
folks who needed some time to understand why it's better to post with a
realname.

What's the point of the paragraph above? Telling somebody that he
should post to an other ng should not be interpreted as a command, it
should be considered a hint.
Do you get some kick out of seeing your name in posts?
LOL
Are you trying to get your hit count up in Google Groups?
Is there any hit count?
I have written a post to Cor but it applies to you.
You will disagree and I am interested in what your views will
be.

Topic: Syntax Error in INSERT INTO Command


I already read your posting, but I didn't have enough time to reply yet.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #6
Hello,

"Armin Zingler" <az*******@freenet.de> schrieb:
I'm getting more curious.

Herfried said
|| Ask in the Word ng:
|| news://news.microsoft.com/microsoft....rd.vba.general

He said this several hours ago.

Now you're saying:
|| As Herfried suggested, you should ask in the Word VBA group
|| because it is a question about the Word object model.

I really don't understand who gains from this post.
Richard. BTW, I really don't understand who gains from _your_ post.


Armin and Herfried, the policemen...

SCNR
Mostly I don't participate in all these OT threads. Unfortunately
they are increasing my download times by an undesirable
amount lately. :-(


:-(

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #7
Hi Herfried,

|| Is there any hit count?

Cor 29200 (Total), 5100 (2003)
Herfried 19100 18400
Armin 13600 3680
Jay 5200 1640
Nick 3930 900

Regards,
Fergus
Nov 20 '05 #8
Well that explains it then - There's a competition - What's the prize?

"Fergus Cooney" <fi******@tesco.net> wrote in message
news:eS**************@TK2MSFTNGP09.phx.gbl...
Hi Herfried,

|| Is there any hit count?

Cor 29200 (Total), 5100 (2003)
Herfried 19100 18400
Armin 13600 3680
Jay 5200 1640
Nick 3930 900

Regards,
Fergus

Nov 20 '05 #9
"Fergus Cooney" <fi******@tesco.net> schrieb
Hi Herfried,

|| Is there any hit count?

Cor 29200 (Total), 5100 (2003)
Herfried 19100 18400
Armin 13600 3680
Jay 5200 1640
Nick 3930 900

Seems you want to be added.

;-)
--
Armin

Nov 20 '05 #10
Hello,

"Stephany Young" <st******@sysoft.co.nz> schrieb:
Well that explains it then - There's a competition - What's
the prize?


I didn't even know that it's possible to count the postings (never had
the idea to do that).

;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #11
Hello,

"Fergus Cooney" <fi******@tesco.net> schrieb:
|| Is there any hit count?

Cor 29200 (Total), 5100 (2003)
Herfried 19100 18400
Armin 13600 3680
Jay 5200 1640
Nick 3930 900


Poor Fergus... you are not even on the list.

;-)))

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #12
The prize is a night out with you.
Nov 20 '05 #13
Oh, you do jump to conclusions.
Nov 20 '05 #14
Explains what?
Nov 20 '05 #15
"Stephany Young" <st******@sysoft.co.nz> schrieb
Well that explains it then - There's a competition - What's the
prize?


Only Fergus thinks there is a competition. Don't take him this impression
because he won't be cheering when he wins. ;-))
--
Armin

Nov 20 '05 #16
Hello,

"Fergus Cooney" <fi******@tesco.net> schrieb:
The prize is a night out with you.


;-)))

Do you really want to get the #1 in the post charts _today_?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #17
Hi Armin,

I actual discovered these while investigating a query and curiousity led
me to wonder how many postings Herfried had made. I have only just compiled
this table in response to Herfried's question. "Is there any hit count?"

Yes, the table is sorted, but it's not a league table unless you would
like it to be.

I'm not on the table as I've only been newsgrouping for three weeks! I
haven't done a last-three-weeks table. I leave that as an exercise for
league-tablers.

Even if I were on a table, I have a higher percentage of amusement
postings which would skew the results as much as it skews download times. ;-)

Regards,
Fergus

Nov 20 '05 #18
Hi Herfried,

I was there hours ago. Lol. I've done 5,720 posts to test. :-)

Regards,
Fergus
Nov 20 '05 #19
Hi Armin,

|| Only Fergus thinks there is a competition

Only Stephany thinks there is a competition
|| Don't take him this impression
|| because he won't be cheering when he wins

Eh? Come again?

Regards,
Fergus
Nov 20 '05 #20
Hi Herfried,

|| Poor Fergus... you are not even on the list.

ROFL. :-D

I know - it's not fair. I didn't reach the qualifying standard. :-(

Regards,
Fergus
Nov 20 '05 #21
"Fergus Cooney" <fi******@tesco.net> schrieb
Hi Armin,

|| Only Fergus thinks there is a competition

Only Stephany thinks there is a competition
As you asked me whether I want to be higher on the list, it seemed you also
thought this.
|| Don't take him this impression
|| because he won't be cheering when he wins

Eh? Come again?


??
--
Armin

Nov 20 '05 #22
Cor
Herfried,
Ha... In the German ngs people who do not post with a realname don't
get an answer. I and some others tell them that they should post with a
realname. Some of them change their name into a realname quickly,
others still post with the "nickname". Nevertheless, there were some
folks who needed some time to understand why it's better to post with a
realname.

That is a historic deep difference between the habits from people from the 3
old empiries countries in Europe and the other Europe countries.

It was very efficient to keep track of the people.
But why would we use those old empire despotic standards?
A lot of Dutch are killed by that kind of administrations in the last war.
Since then it's very deep in the Dutch moral to keep that in mind.
I am from after the war, but freedom in every way is the main part of Dutch
thinking and in that I am real Dutch.

The sentence about war is only too illustrate, that is behind us in Europe
happenly, but the lessons that we did learn not.

:-)

Cor

Nov 20 '05 #23
Cor
Stephany.
Not because I want to win, I am very happenly maried,
But very good of topic answer.
:-))))))))))
Cor
Nov 20 '05 #24
Cor
Fergus,

Normally you put with these messages the sentence.

Please do you want to send a picture from you in a zip file so I can
evaluate it better?

:-)))))))))))))))))

Sorry for this Sthephany, normally I don't like to threat woman in an other
way than man,

and don't blame Fergus, he is so done to help people in the way he thinks is
right.

(And we have almost the same thoughts) that he seems to be a little bit
furious.

And to be seriously:

Fergus I think we all want to help, Armin, Herfried, you, the others and me.

Please keep in mind that people, for whom English is not their native
language, sometimes use the wrong word because they think it looks like
English. I did it with argumenting (while I know what arguments mean in
English but forgot it), you did it with geblauten.

Have fun all.

Cor


Nov 20 '05 #25
Cor
Herfried, Armin and Fergus,
When I see this thread, I can only make one conclusion for myself.
We all want to do it right and we do it wrong.

My sugestions are:
Cor, Herfried, Armin and all Others,
(And that is all Fergus wants I think).
Is it possible to wait with OT's that are discussable if it is an OT 12
hours (to overcome the timezones).
OT's are for me by instance the sure VB6, C#, JScript, Office, HTML, old
ASP, ADO 2.<7 question, but when you have doubts please wait.
(When I am wrong in that please give comments)

Fergus, Cor and all Others,
Can we have the dicipline when it is real an OT question, not to answer it
directly or only if it can be done with one sentence?

By the way the answer from Herfried on this question was in my opinion not
an OT the only word that was missing was
Ask in the Word ng: FirstThe solution can be translated to VB.NET...


And not to make this too long the rest is written in my other answer to
Fergus in the thread On being an assister II

Cor.
Cor
Nov 20 '05 #26
"Cor" <no*@non.com> schrieb
Herfried,
Ha... In the German ngs people who do not post with a realname
don't get an answer. I and some others tell them that they should
post with a realname. Some of them change their name into a
realname quickly, others still post with the "nickname".
Nevertheless, there were some folks who needed some time to
understand why it's better to post with a realname.

That is a historic deep difference between the habits from people
from the 3 old empiries countries in Europe and the other Europe
countries.

It was very efficient to keep track of the people.
But why would we use those old empire despotic standards?
A lot of Dutch are killed by that kind of administrations in the last
war. Since then it's very deep in the Dutch moral to keep that in
mind. I am from after the war, but freedom in every way is the main
part of Dutch thinking and in that I am real Dutch.

The sentence about war is only too illustrate, that is behind us in
Europe happenly, but the lessons that we did learn not.


???

Maybe it's simply a question of politeness whether to tell somebody his
realname of not. If, in the "real world", somebody meets you and says "hi,
I'm xqy", you would say: huh?? So why make a difference here? There is
simply no reason to hide the name - unless the one has been up to something.
This is a "technical" group, not one talking about suicide (just an extreme
example) or other topics that justify a nick name. Apart from that, a nick
name is often childisch because grown-ups usually know that they can be
behind there statements.

This has been discussed over and over again (most people finally understood
why use the realname), so I won't make any further comments on this. ;-) -
and, this does not mean I wanna tell anybody in the group what to do, it's
only the explanation of the "realname-habbit" in the most German groups.
--
Armin

Nov 20 '05 #27
Hello,

"Cor" <no*@non.com> schrieb:
My sugestions are:
Cor, Herfried, Armin and all Others,
(And that is all Fergus wants I think).
Is it possible to wait with OT's that are discussable if it is
an OT 12 hours (to overcome the timezones).
OT's are for me by instance the sure VB6, C#, JScript,
Office, HTML, old ASP, ADO 2.<7 question, but when
you have doubts please wait. (When I am wrong in that
please give comments)


The OP wants a _quick_ response. Why waiting for 12 hours? If the OP
reads the hint telling him to turn to an other ng, he can find a
solution in shorter time.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #28
Hi Armin

|| As you asked me whether I want to be higher on
|| the list, it seemed you also thought this.

What made you think that ? All I did was ask you a question. If I ask
whether you are hungry am I saying that <I> am hungry?

|| > || Don't take him this impression
|| > || because he won't be cheering when he wins
|| >
|| > Eh? Come again?
||
|| ??

This one could go on and on.. :-)

"Eh? Come again?" means "I don't understand - could you repeat with
different words?"

Regards,
Fergus


Nov 20 '05 #29
Hello,

"Cor" <no*@non.com> schrieb:
It was very efficient to keep track of the people.
But why would we use those old empire despotic
standards?


Why is posting with a realname a despotic standard?!
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #30
Cor
Armin,
Not so many differences, but it's anybody's choise.
By the way, Cor is my realname.
my familyname is Ligthert
But when I meet someone I just say Cor
Cor
Nov 20 '05 #31
Cor
Herfried,
I was trying to tell that there are mentality differences between people
from different countries and why.
I think it is not right to put your own standards to someone else.
When it is a habbit in the German newsgroup, for me that is no problem, it
is a closed group of countries which use that language.
(I do not know how it is with the Belgian, Swiss, Italian and Danish German
language part about this subject).
But i failed in my explanation.
:-(
Cor
Nov 20 '05 #32
Cor
Herfried,
The OP wants a _quick_ response. Why waiting for 12 hours? If the OP
reads the hint telling him to turn to an other ng, he can find a
solution in shorter time.

It are the words "turn to an" Armin did use this too in a message an half an
hour ago.
Just change it in "look in an" and we totaly agree.
:-)
Cor

Nov 20 '05 #33
Hello,

"Cor" <no*@non.com> schrieb:
I was trying to tell that there are mentality differences between people from different countries and why.
I think it is not right to put your own standards to someone else.


You misunderstood me. I never wanted to tell everyone to use a realname
_here_.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #34
"Fergus Cooney" <fi******@tesco.net> schrieb
Hi Armin

|| As you asked me whether I want to be higher on
|| the list, it seemed you also thought this.

What made you think that ? All I did was ask you a question. If I
ask
whether you are hungry am I saying that <I> am hungry?
No.
|| > || Don't take him this impression
|| > || because he won't be cheering when he wins
|| >
|| > Eh? Come again?
||
|| ??

This one could go on and on.. :-)

"Eh? Come again?" means "I don't understand - could you repeat
with
different words?"


Forget it. Was not important.
--
Armin

Nov 20 '05 #35
Cor
Herfried,
This one I find very nice.

This is a VB.NET language group. Notice that you will have a better
chance to get an answer if you post to the ADO.NET newsgroup in future:

I do not know if it is correct English, but that will Fergus tell us I
think.
It is short and direct. I got it from your post,
:-)
Cor

Nov 20 '05 #36
Cor
Herfried,
H happenly we can argue about little things, so in the main things we all
agree.
:-)
EOT
Cor
Nov 20 '05 #37
Hello,

"Cor" <no*@non.com> schrieb:
It are the words "turn to an" Armin did use this too in a message
an half an hour ago.
Just change it in "look in an" and we totaly agree.


LOL

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #38
Hello,

"Cor" <no*@non.com> schrieb:
This one I find very nice.

This is a VB.NET language group. Notice that you will have a better
chance to get an answer if you post to the ADO.NET newsgroup in future:
I do not know if it is correct English, but that will Fergus tell us I
think.
It is short and direct. I got it from your post,


I hope it's not so rude.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #39
Hello,

"Cor" <no*@non.com> schrieb:
Have fun all.


"Happy to Help"

:-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #40
Hello,

"Fergus Cooney" <fi******@tesco.net> schrieb:
What made you think that ? All I did was ask you a question.
If I ask whether you are hungry am I saying that <I> am hungry?
LOL -- that's really OT.
"Eh? Come again?" means "I don't understand - could you
repeat with different words?"


;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #41
Hi Cor, Herfried,

|| This is a VB.NET language group*. Notice* that you will ***
|| have a better chance* to get an answer if you post to the
|| ADO.NET* newsgroup in future*

* This is what we do.
* You're not <wrong> to be here but.
* There are better places.
* Here is the better place.
* If you remember this, it will be easier next time.

|| This one I find very nice.

Thank you, Cor, so do I. :-)

|| It is short and direct.

It's not as soft and sweet as my adapted wordy reply - it's the perfect
in-between.

|| I got it from your [Herfried's] post.

And, therefore, thank you Herfried. :-)

Regards,
Fergus

** The only change I'd make is to replace 'will' with 'may' or add
probably' - because many people <have> had their DB queries answered
<completely> to their satisfaction here.
Nov 20 '05 #42
Hi Cor,

|| Is it possible to wait with OT's that are discussable
|| if it is an OT 12 hours (to overcome the timezones).

|| (And that is all Fergus wants I think).

Yes, I'd like that :-)

|| Can we have the dicipline when it is real an OT question, not
|| to answer it directly or only if it can be done with one sentence?

I'm not sure I understand this. Do you mean for us to not give an answer?

Regards,
Fergus

Nov 20 '05 #43
Hello,

"Fergus Cooney" <fi******@tesco.net> schrieb:
|| This is a VB.NET language group*. Notice* that you will ***
|| have a better chance* to get an answer if you post to the
|| ADO.NET* newsgroup in future*

* This is what we do.
* You're not <wrong> to be here but.
* There are better places.
* Here is the better place.
* If you remember this, it will be easier next time.

|| This one I find very nice.

[...]

Thank you!

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #44
Hi Armin,

|| There is simply no reason to hide the name

Isn't there? Does a nickname only <hide> or can it <reveal> too?

|| - unless the one has been up to something.

That's perhaps a bit of a limited view?

|| a nick name is often childisch

In Britain, and many other places, I'm sure, 'childish' and 'fun' can be
applied to the many behaviours. I'm very grown-up at times and I'm very
'childish' at times. I have a lot of fun. For many people, having a nickname
is an amusement - not a cover. There are some people for whom their nickname
is more 'real' that their actual name.

I had a query-conversation with a chap calling himself NewbyDewby. He
chose Newby because it represented his newness to VB.NET. He added Dewby
because it rhymed. Rhyming adds amusement value. It was also his way of
saying - Don't be hard on me, I'm a nice guy and I'm new to this game.

NewbyDewby is a perfectly valid name to come into the group with. And I
understood his intention with it. Eventually I asked him his real name but
this was because our conversation was extended and I do prefer a real name in
a longer exchange and because I find NewbyDewby awkward to type.

Some people use nicknames because they are lazy. I don't condone that -
I'd rather have a real name. The person calling himself "e" maybe in that
category. But he may have a valid reason for it. It may, for example, be a
childhood nickname. I don't presume to judge.

|| a nick name is often childisch because grown-ups
|| usually know that they can be behind there statements.

I'm not sure what this means but if I've got it right, a person with a
nickname can also stand behind their statements. I think that it's the
willingness to stand rather than the name used.

|| somebody meets you and says "hi, I'm xqy", you would say: huh??

Lol. Actually I'd say "Hi Ecksquwee - that's an unusual name" and start a
conversation about it. ;-)

Regards,
Fergus
Nov 20 '05 #45
Cor

|| Can we have the dicipline when it is real an OT question, not
|| to answer it directly or only if it can be done with one sentence?

Yes, to give time to others to give an answer, this are topics "very much in
between",
I normaly think they get a reference (like Herfried did make and seen in our
other post) before that time.
When you now see the Jeremy Cowles answers you expode I think, wait a while
to answer them I did already with one.
Cor

Nov 20 '05 #46
Hello,

"Cor" <no*@non.com> schrieb:
Yes, to give time to others to give an answer, this are
topics "very much in between",
I normaly think they get a reference (like Herfried did make and
seen in our other post) before that time.
When you now see the Jeremy Cowles answers you expode I think,
wait a while to answer them I did already with one.


Jeremy uses "please" in his replies too. Really rude, even for (i
think) a native English speaker.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #47
ROFL
Nov 20 '05 #48
Cor
Fergus,

To get it clear for me
This means this one?
This is a VB.NET language group. Notice that you may probably have a better
chance to get an answer if you post to the
XXX newsgroup in future.

Cor
Nov 20 '05 #49
Hi Cor,

This is a VB.NET language group. Notice that you may
have a better chance to get an answer if you post
to the XXX newsgroup in future.

You can say 'will probably' or 'may', but 'may probably' is like saying
'possibly probably' - so I've taken out the 'probably'.

What's the code for a <really big smile - happy not amused>? :-)

Cheers, Cor,
Fergus
Nov 20 '05 #50

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Yohancef Chin | last post: by
1 post views Thread by beanie | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.