If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to tell if a document is new ?
In visual basic ? what method or property can I use to determine if a
document has ever beens saved ? Cheers -- 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)) -- |
#2
|
|||
|
|||
-----Original Message----- In visual basic ? what method or property can I use to determine if a document has ever beens saved ? Cheers -- 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)) -- . What does this have to do with MS Office Word? |
#3
|
|||
|
|||
A lot actually, I wanted to use Words Basic to determine this. However, Ive
since worked it out. 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)) -- "Chuck Davis" wrote in message ... -----Original Message----- In visual basic ? what method or property can I use to determine if a document has ever beens saved ? Cheers -- 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)) -- . What does this have to do with MS Office Word? |
#4
|
|||
|
|||
OHM ( Terry Burns ) shared this with us in
microsoft.public.word.newusers: A lot actually, I wanted to use Words Basic to determine this. However, Ive since worked it out. Thanks Share your solution with the world! -- Amedee Van Gasse using XanaNews 1.16.5.2 If it has an "X" in the name, it must be Linux? Please don't thank me in advance. Thank me afterwards if it works or hit me in the face if it doesn't. ;-) |
#5
|
|||
|
|||
test the property against the date "01/01/1601" which is the default date
-- 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)) -- "Amedee Van Gasse" wrote in message ... OHM ( Terry Burns ) shared this with us in microsoft.public.word.newusers: A lot actually, I wanted to use Words Basic to determine this. However, Ive since worked it out. Thanks Share your solution with the world! -- Amedee Van Gasse using XanaNews 1.16.5.2 If it has an "X" in the name, it must be Linux? Please don't thank me in advance. Thank me afterwards if it works or hit me in the face if it doesn't. ;-) |
#6
|
|||
|
|||
As long as you have started typing in the document,
MsgBox ActiveDocument.Saved Will return "False" For a completely new, virgin document, it will however shown True because as far as Word is concerned, there is nothing do save. -- Please post any further questions or followup to the newsgroups for the benefit of others who may be interested. Unsolicited questions forwarded directly to me will only be answered on a paid consulting basis. Hope this helps Doug Robbins - Word MVP "Amedee Van Gasse" wrote in message ... OHM ( Terry Burns ) shared this with us in microsoft.public.word.newusers: A lot actually, I wanted to use Words Basic to determine this. However, Ive since worked it out. Thanks Share your solution with the world! -- Amedee Van Gasse using XanaNews 1.16.5.2 If it has an "X" in the name, it must be Linux? Please don't thank me in advance. Thank me afterwards if it works or hit me in the face if it doesn't. ;-) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Selecting the right document | Beth Melton | New Users | 0 | November 4th, 2004 06:39 PM |
Document Merge Issues | Barb Reinhardt | General Discussion | 1 | October 13th, 2004 10:59 AM |
Multiple Revisions - Track Changes - Sanity | still puzzled | General Discussion | 3 | September 29th, 2004 10:36 PM |
Enabling menu commands after protecting a document | tdtoolman | General Discussion | 3 | July 6th, 2004 07:21 PM |
Bookmarks are not retained during Mail Merge | Latha | Mailmerge | 22 | June 16th, 2004 08:53 PM |