Word Properties

Microsoft OFFICE

    Sponsored Links

    Next

  • 1. How to use Office Viewer(Only View not Edit funciton) to print
    Dear Cindy: thank your information ! Actually , I want print a office file in my program .but I don't want let user know I use the office viewer to print. so i want don't show any windows or dialog when my print files. if we use shell to open Viewer ,whether can hide the Viewer UI or minimum Viewer? best regards, Ricmy "Cindy Meister" wrote: > You really don't provide propert information; it's not clear exactly what > you're after. But if I'm interpreting this correctly, the answer is: you > can't. > > The Microsoft "Viewers" for the various Office applications have NO command > line switches or automation interface. There's no way to use one to have a > file print out without displaying the actual viewer. Possibly, using Shell > and Sendkeys, you could open the viewer with a file and get it to print. But > the Viewer would be visible. > > -- Cindy > > > "Ricmy_zhu" wrote: > > > Hello ! > > I want to use office Viewer pint file by command line or VBA in my program > > without any UI , but I can't found any way to perform this ,please help me ! > > > > thanks! > > > > Ricmy > >

Word Properties

Postby danielcoates » Fri, 12 Dec 2003 01:41:16 GMT

Does anyone know where in the Word Object model the properties that
are displayed in the Word status bar are stored i.e. the Line Number
(ln) and the column Number (col).

Thanks in advance.

dan.

Re: Word Properties

Postby Jonathan West » Fri, 12 Dec 2003 03:57:45 GMT






Hi Dan

LineNumber = Selection.Information(wdFirstCharacterLineNumber)
ColNumber = Selection.Information(wdFirstCharacterColumnNumber)

-- 
Regards
Jonathan West - Word MVP
 http://www.**--****.com/ 
Please reply to the newsgroup


Re: Word Properties

Postby danielcoates » Sat, 13 Dec 2003 20:00:36 GMT

Thanks Jonathan...








Similar Threads:

1.MS Word properties manipulation

2.OT: MS Word properties manipulation

This is probably more of an MS Word question than .net, but let me try to
explain what I want to do:

We have a bunch of forms in MS word format. We want to come up with a
standard naming convention that integrates a bunch of meta information about
the file into something like this:

SHC-EN-4-Form_for_divorce-042005.doc

Having everyone name the file manually will likely lead to mistakes, so I'm
suggesting that as they upload the document to our server via our Document
Management app, I'll rename the file programatically via .net using the
information they provide when they upload.

The catch is that every document has a footer (in word) that will also list
the filename.

My question is if there is any type of word tag or special object that could
be put into the footer of the file that would automatically update itself
whenever the filename is changed?

-Darrel


3.MS Word properties that are read-only in VB.Net but not in VBA

Apologies if this is the wrong forum. I normally post in the Word Programming 
group, but this seemed like more of a VB.Net question.

I'm moving code from VBA over to Visual Studio Express 2005 (Visual Basic) 
while still learning about VB.Net. (Not a good combination, I know.)

One problem I'm seeing is that certain lines of code that work when run 
inside Word fail in a VB.Net app because I'm trying to set a read-only 
property. For example, when dealing with the Range object in Word, in the VBA 
Editor, you can write this:

dim r as Range
[blah blah blah]
r.Characters.Last= "T"

This should make the last character in the range "r" a capital T. It works 
in the VBA Editor with no errors, but in Visual Studio Express, it tells me 
"Last is a read-only property."

I tried creating a variable:

dim strTmp as String
strTmp=r.Characters.Last
strTmp="T"

But that doesn't work, because it won't let you assign "Last" to a string. 
Any ideas?

Again, I wasn't certain where to put this, but I saw other Microsoft Word 
questions here and figured I'd add my own. Thanks in advance!

4.Exclude documents in search results based on MS Word Properties (repost)

Looking for help here.



I would like exclude all Word documents that have a status property set to
"in progress" in a search



I am referring to the document properties you se when you right click on a
document.



Our users set the status property to "in progress" and they do not want
these documents to be included in a search even though they exist in the
same Document Library with documents that have other status. (Completed, not
started etc.)



A tough one.



Any takers! (;>)


5.Exclude documents in search results based on MS Word Properties

Looking for help here.



I would like exclude all Word documents that have a status property set to
"in progress" in a search



I am referring to the document properties you se when you right click on a
document.



Our users set the status property to "in progress" and they do not want
these documents to be included in a search even though they exist in the
same Document Library with documents that have other status. (Completed, not
started etc.)



A tough one.



Any takers! (;>)


6. Using lookup fields as Word property

7. A number in a Word property is not transferred to WSS

8. Batch change Word properties



Return to Microsoft OFFICE

 

Who is online

Users browsing this forum: No registered users and 56 guest