Home

Search form

Recent posts

  • Update Center for Microsoft SQL Server
  • Font and Icons too small when RDP from Windows 10 into Windows 7
  • One problem, one weekend, eight languages
  • How to retrive Outlook default signature
  • How to completely uninstall VFP 9.0
  • Retrieving VFP runtime DLL name required by EXE or DLL
  • Send email via MSN email account
  • Send email via Yahoo mail account
  • Remove Structural CDX or Memo flag from a table
  • Deleting pages from PDF file through Acrobat automation
More

Fit to Page in Excel and Word

Submitted by Sergey on January 2, 2008 - 00:47 UTC
topic: 
excel
code
vfp
automation
word

$SAMPLECODE$

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15

 Excel
WITH oSheet.PageSetup
        * Fit to Page
        .Zoom = .F.	      
        .FitToPagesWide = 1   
        .FitToPagesTall = 1   
ENDWITH

*------------------------------------

* Word
oWord.ActiveDocument.FitToPages()

  • Read more about Fit to Page in Excel and Word
  • Sergey's blog
  • 0 comments
  • 6888 reads

Comments