Reply
 
Thread Tools Display Modes
  #1   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

You are posting in an end user NG. You'd be better off posting to one of the
word.vba NGs if you want programming assistance.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"OHM ( Terry Burns )" wrote in message
...
Thanks for your help so far.

I wonder if you might be of more help ?

I want to create a custom dialog which can offer a list of templates to
launch a new document based on. I hate the standard stuff word provides

for
reasons already explained regarding Details versus lists. Do you know of a
code snippit that would do this. I want to display the title property of

the
documents in a directory ( or file name ) and be able to double click the
item and have it launch a new doc based on the template.

I havent worked with list boxes in word yet and not sure how to manage
display text Vs values. Can you for example add objects into Listboxes (

Not
strings ) and if so how to I configure my object to return a string value
for the list to display, or am I missing something ?


Any help would be appreciated.


Many Thanks





--
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))
--
"Suzanne S. Barnhill" wrote in message
...
Word uses the Title property if it exists, but you have to create it
before
you save the first time, and most users don't think about File |
Properties
till they save (and then only if they have "Prompt for document
properties"
enabled (Tools | Options | Save).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup
so
all may benefit.

"OHM ( Terry Burns )" wrote in message
...
Thanks Charles,

It would have been far more insightful for MS to have simply added a
property to the document to set the default fileSave name. I find it
incredible that Word 2003 is so lacking in this respect and many others
which I have discovered in the last few days.

After coding in VS.NET this is like coming from a Boing 747 cockpit to

a
twin engine Sesser. Really annoying.


Regards


--
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))
--
"Charles Kenyon" wrote in
message ...
The default filename truncates at punctuation or other

non-alphanumeric
characters. Always has. It doesn't matter if the characters are legal

for
filenames. Don't know of a fix. A workaround would involve a macro

that
intercepts the Save command (and other methods of getting the SaveAs
dialog) and actually puts the Title property contents into the
suggested
name.
"OHM ( Terry Burns )" wrote in message
...
HI Jeff,

Fair point I could have stated the operating system (XP) but the

point
is
not if the characters are valid or not, simply that only Alpha
Numerics
are allowed Despite the legal characters such as an underscore cause

the
filename taken from the title field to break.

So for example, title = My_FileName

When saving the new document, the Save Dialog box contains 'My'

Whereas 'My Filename' works

See my dilema now ?


--
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))
--
"JBNewsGroup" wrote in message
...
Hi Terry,

You did not say which operating system you are on, but start with
reading:



http://www.microsoft.com/resources/d...c_fil_rbrx.asp

You could also go to www.microsoft.com and type "file names" into

the
search
box. Some of the results are extraneous but should give you a
starting
point. Below is the address for the above search results:



http://search.microsoft.com/search/r...2file+Names%22

Jerry Bodoff


"OHM ( Terry Burns )" wrote in message
...
As we all know the title property of the document can be used as a
default
file save name, however, I have found that it will accept

characters
like
_
or : in the title, but will ignore anything after those.

Does anyone know of an escape sequance which can be used to make
word
interpret these as literals. Backslash does not work.

Hey ho the nuances of word have me baffled again. !

--
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))
--














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
is this possible? - title as a cross reference Thomas Campitelli Formatting Long Documents 3 January 20th 05 03:26 AM
Difficulties mail merging special characters from excel to word 20 Nondejuu Mailmerge 1 January 5th 05 01:30 PM
International characters in mail merge sandra Mailmerge 1 December 23rd 04 05:42 AM
Keeping Title and Picture Together Michael Leu Microsoft Word Help 2 December 22nd 04 10:33 PM
Add a title to Title drop down menu Brian Ellis Mailmerge 2 December 11th 04 09:16 PM


All times are GMT +1. The time now is 03:20 AM.

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"