Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Document Title On new Documents Vs Save Name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
OHM \( Terry Burns \) - 23 Dec 2004 12:27 GMT
Hi Peeps,

I some code which runs on the New Event for a document, amongst other things
it sets the Built in property for Documents Title. This works

However, when I try to save the new document, I would have expected it to
use the Title property, instead it comes up with the word 'This'.

Now if I open the properties box and then Ok it, when I now try to save it
used the Title property,

How can I get around this ?

Cheers

Signature

OHM ( Terry Burns )   * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
    ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--

OHM \( Terry Burns \) - 23 Dec 2004 17:50 GMT
Can someone tell me where to set the following in vb code please

When you open up the document properties. There is a tab called contents in
a blank document the word Title appears, and this can have entries below it.

What does this tab represent
How to access the contents programatically

TIA

Signature

OHM ( Terry Burns )   * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
    ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--

> Hi Peeps,
>
[quoted text clipped - 10 lines]
>
> Cheers
Flemming Dahl - 23 Dec 2004 23:44 GMT
Hi Terry

Try right click the Contents frame and read that this frame will show you
the headings you have in you document if you on the Summery Tab has marked
Save Preview Picture.

Create a document with one or more headings and see the result.

I can not find the connection to the information through vba, but you can
run thourgh your document and find the headings if you need to.

Cheers,
Flemming

> Can someone tell me where to set the following in vb code please
>
[quoted text clipped - 20 lines]
> >
> > Cheers
Word Heretic - 24 Dec 2004 03:13 GMT
G'day "OHM \( Terry Burns \)" <me@mine.com>,

You can use the dialog itself from VBA to set a number of document
properties at once without that blasted "Recalc word count" business
occuring each var. This may yield success for you.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

OHM ( Terry Burns ) reckoned:

>Hi Peeps,
>
[quoted text clipped - 10 lines]
>
>Cheers

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.