Re: Word file format problems
- From: JP <JP@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Jun 2007 13:51:00 -0700
Dear Graham,
You star! I wasn't quite sure what you were on about with macros and all
that-I ended up downloading one form the microsoft site-I think! Anyway I
have managed to convert over 150 reports today in very little time-stillno
excuse for a stinking network at school though-they need to get up to date
instead of lagging behind business as usual. Your help is greatly appreciated
and a god send to a stressed out teacher!
All the best
James
"Graham Mayor" wrote:
You can't, but the macro I posted earlier will speed up the process..
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
JP wrote:
Graham,
In fact your correct the school computer does appear to have the Word
2007 converter installed-it will open 2007 word files-dont know why
it wont recognise the word files that my report writer is churning
out-they are supposed to be 97-03 files-anyway-as I know2007 files
will work, how can I convert all my Word 97-03 files to 2007 files
without having to open and save each one.
Thanks
James
"Graham Mayor" wrote:
The school computer may have the Word 2007 converter installed
http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en
but without it older versions of Word will not open Word 2007 format
files.
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
JP wrote:
Just a couple of things Graham-I am copying teh files from teh usb
to teh shared area at work-so they are on the hard drive, in fact I
have't tried opening them straight from teh usb at work. Secondly,
Word 2007 is on my personal computer-school still has last version
of word-pre 2003 I think.
"Graham Mayor" wrote:
Instead of saving the files to your USB storage device save them to
the hard drive and *copy* them using Windows Explorer after
establishing that you can open them again in Word at home. At
school reverse the process. Do not open them directly from the USB
device.
If these files are genuinely in Word 97-2003 format, then Word 2007
should open them.
How are you saving them to DOCX format at home? If you are using
Word 2007 then you can convert all with a macro, but it should be
unnecessary. The following assumes that DOCX is the default save
format for Word 2007. Run the macro on files saved on the hard
drive!
Sub SaveAllAsDOCX()
Dim strFileName As String
Dim strDocName As String
Dim strPath As String
Dim oDoc As Document
With Dialogs(wdDialogCopyFile)
If .Display <> 0 Then
strPath = .Directory
Else
MsgBox "Cancelled by User"
Exit Sub
End If
End With
If Documents.Count > 0 Then
Documents.Close SaveChanges:=wdPromptToSaveChanges
End If
If Left(strPath, 1) = Chr(34) Then
strPath = Mid(strPath, 2, Len(strPath) - 2)
End If
strFileName = Dir$(strPath & "*.doc")
While Len(strFileName) <> 0
Set oDoc = Documents.Open(strPath & strFileName)
strDocName = ActiveDocument.FullName
intPos = InStrRev(strDocName, ".")
strDocName = Left(strDocName, intPos - 1)
strDocName = strDocName & ".docx"
oDoc.SaveAs FileName:=strDocName, _
FileFormat:=wdFormatDocumentDefault
oDoc.Close SaveChanges:=wdDoNotSaveChanges
strFileName = Dir$()
Wend
End Sub
http://www.gmayor.com/installing_macro.htm (dialog access is
different from the illustrations in 2007)
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
JP wrote:
I have been writing reports for my class using a report writing
programme which uses a word 97-2003 template format/file for my
report design. I have written over 100 reports using this
format/file and then taken them to work to put on the schools
network with a usb pen. When I try to open these files at work it
prompts me to install a converter for word-when prompted to do so
the result is a load of nonsense-there are various options to try
on this converter such as unicode. ms dos, default
windows-turksih, european etc etc etc-none make any sense of teh
documents. However, when I save each report as a word 2007
document-the school network computers do open and display teh
word files correctly. Therefore, I have two queries:
What's the qucikest way to convert over 100 word files (97-2003)
to Word 2007 without having to open each one individuallyand
resave each one?
Any ideas why our school network computers are recognising these
97-30 word files and needing a converter? And any solutions to
this?
Cheers
JP
- References:
- Re: Word file format problems
- From: Graham Mayor
- Re: Word file format problems
- From: JP
- Re: Word file format problems
- From: Graham Mayor
- Re: Word file format problems
- From: JP
- Re: Word file format problems
- From: Graham Mayor
- Re: Word file format problems
- Prev by Date: Re: Word 2007: Qucik Access Toolbar for a network
- Next by Date: Re: Need hidden headings in TOC
- Previous by thread: Re: Word file format problems
- Next by thread: Re: How do I remove background shading
- Index(es):
Relevant Pages
|
Loading