Hi Basavaraj,
1)
there seems always to be a selection.
I think, the best you can do, is to collapse the selection.
Selection.Collapse
2)
Maybe this can help:
Karl E. Peterson's One-Stop Source Shop
http://www.mvps.org/vb/code/ForceFore.zip
Greetings from Bavaria, Germany
Helmut Weber, MVP
"red.sys" & chr(64) & "t-online.de"
Word XP, Win 98
http://word.mvps.org/
Basavaraj - 17 Jan 2005 06:31 GMT
Hi Helmut,
Thanks alot for your suggessions.
First one worked wonderfully for me. In C++, this Collapse method expects a
VARIANT object that tells abt the direction, but as i din't know anything abt
this, i just sent a defualt empty variable for this and it worked.
Thank you very much.
But the second one, it uses the windiws method like SetBackgroundWindow and
things like that which are commonly used in windows applications which needs
windows handlw that needs to be brought in to foreground. Here, i dont get MS
Word document/windows handle..so, its not specific to MS Word programming but
its very generic one. Anyhow,
thank you very much for your suggession.
> Hi Basavaraj,
> 1)
[quoted text clipped - 14 lines]
> Word XP, Win 98
> http://word.mvps.org/