Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Save page to file
How do you save a specific page in a word document to a file? I got a word
document with X pages and want to save for example page 5 to a rtf file. I know i can copy paste but isnt it function for this? Or even a macro that you save every page to one file each? Thanks in advice! |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Save page to file
Wond doesn't do "pages" as we generally think of them. If you don't
necessarily want to edit those individual pages, you could make them .pdf files. -- JoAnn Paules MVP Microsoft [Publisher] Tech Editor for "Microsoft Publisher 2007 For Dummies" "highspeed" wrote in message ... How do you save a specific page in a word document to a file? I got a word document with X pages and want to save for example page 5 to a rtf file. I know i can copy paste but isnt it function for this? Or even a macro that you save every page to one file each? Thanks in advice! |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Save page to file
Hi Highspeed,
without covering all possible complications, like that, no way without copying and pasting, except printing single pages to a pdf-file: Sub SaveAllPagesSeperately() Dim lTmp As Long Dim iCnt As Long lTmp = ActiveDocument.Range.Information(wdNumberOfPagesIn Document) For iCnt = 1 To lTmp Selection.GoTo _ what:=wdGoToPage, _ which:=wdGoToAbsolute, _ Count:=iCnt Selection.Bookmarks("\page").Select Selection.Copy Documents.Add Selection.Paste ActiveDocument.SaveAs _ FileName:="page-" & Format(iCnt, "000") & ".rtf", _ FileFormat:=wdFormatRTF ActiveDocument.Close Next End Sub Sub SaveSinglePageSeperately() Dim lTmp As Long lTmp = InputBox("Page?") Selection.GoTo _ what:=wdGoToPage, _ which:=wdGoToAbsolute, _ Count:=lTmp Selection.Bookmarks("\page").Select Selection.Copy Documents.Add Selection.Paste ActiveDocument.SaveAs _ FileName:="page-" & Format(lTmp, "000") & ".rtf", _ FileFormat:=wdFormatRTF ActiveDocument.Close End Sub -- Greetings from Bavaria, Germany Helmut Weber, MVP WordVBA Vista Small Business, Office XP |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Save page to file
Oki thx for answers anyway
Btw you know how to disable autostart for the cd drive? Very annoying when you open My computer or you want to save a file and that high noisy cd goes off |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I save a single page in a word document to another file? | Microsoft Word Help | |||
Take a single page from ext doc, and save as new file in MS Word | New Users | |||
how do I save one page of a multi page document as new file? | Microsoft Word Help | |||
why i lose page head when i save Word file as a "MHT" file? | Microsoft Word Help | |||
how can I split each page of a file and save them in a seprated file? | Microsoft Word Help |