Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
altmany altmany is offline
external usenet poster
 
Posts: 1
Default How do I open Word directly at a specific paragraph?

I need to open a Word document directly (from the command line) at one of
many different paragraphs. I can't use macros because Word does not allow
passing input arguments to top-level macros, and creating a separate macro
for each paragraph is obviously bad.

I could place bookmarks and save-as HTML (and then link to ...htm#bookmark),
but I'd rather open the original DOC, in MS Word.

Is there any way to do so?

(I have office 2K3 on WinXP SP2)
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default How do I open Word directly at a specific paragraph?

Hi ?B?YWx0bWFueQ==?=,

I need to open a Word document directly (from the command line) at one of
many different paragraphs. I can't use macros because Word does not allow
passing input arguments to top-level macros, and creating a separate macro
for each paragraph is obviously bad.

I could place bookmarks and save-as HTML (and then link to ...htm#bookmark),
but I'd rather open the original DOC, in MS Word.

Is there any way to do so?

No, there is not.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Steve Yandl Steve Yandl is offline
external usenet poster
 
Posts: 26
Default How do I open Word directly at a specific paragraph?

An alternate option would be to use a script to launch the Word application
and pass the path to the document as one of the arguments to the script.
You could also pass the paragraph number and/or the name of a macro (if it
is known). Doing this, your command line would be for cscript.exe rather
than winword.exe.

Steve



"altmany" wrote in message
...
I need to open a Word document directly (from the command line) at one of
many different paragraphs. I can't use macros because Word does not allow
passing input arguments to top-level macros, and creating a separate macro
for each paragraph is obviously bad.

I could place bookmarks and save-as HTML (and then link to
...htm#bookmark),
but I'd rather open the original DOC, in MS Word.

Is there any way to do so?

(I have office 2K3 on WinXP SP2)



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 97 in Windows XP to maintain formatting Charlie''s Word VBA questions Microsoft Word Help 22 May 20th 23 08:51 PM
How to put graphics on envelopes? Steve Koenig Microsoft Word Help 21 April 29th 23 02:47 AM
take yet another lesson from wordperfect "reveal codes" wordperfect is superior Microsoft Word Help 5 May 11th 09 07:58 PM
I am having difficulty with deleting headers and footers LHD New Users 5 July 24th 06 01:44 AM
Word & WordPerfect MrsMac Microsoft Word Help 5 June 10th 06 03:14 AM


All times are GMT +1. The time now is 06:17 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"