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 / Document Management / May 2008

Tip: Looking for answers? Try searching our database.

Save page to file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
highspeed - 19 May 2008 16:12 GMT
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!
JoAnn Paules - 19 May 2008 16:31 GMT
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.

Signature

JoAnn Paules
MVP Microsoft [Publisher]
Tech Editor for "Microsoft Publisher 2007 For Dummies"

> 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
[quoted text clipped - 3 lines]
>
> Thanks in advice!
Helmut Weber - 19 May 2008 17:44 GMT
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(wdNumberOfPagesInDocument)
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
highspeed - 20 May 2008 12:06 GMT
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 :)
 
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.