+ Reply to Thread
Results 1 to 4 of 4

Web publishing resolution change???

  1. #1
    Registered User
    Join Date
    01-24-2008
    Posts
    3

    Web publishing resolution change???

    hi

    I am saving my workbook as a web page using the following code:

    ActiveWorkbook.SaveAs Filename:= _
    "C:\Documents and Settings\test.htm", FileFormat:=xlHtml, _
    ReadOnlyRecommended:=False, CreateBackup:=False

    and this works fine but when I view the web page it is just too big for the screen and I have to keep scrolling - very annoying. I do not want to change my windows resolution.

    Is there an alternative/addition bit of vba code to resolve this?

    Cheers

    TJ

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello tj32,

    Welcome to the Forum!

    Try changing the Zoom property of the ActiveWindow. This examples reduces the display to 80% of the original size.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Cross-post: http://www.ozgrid.com/forum/showthread.php?t=83578

  4. #4
    Registered User
    Join Date
    01-24-2008
    Posts
    3

    Hi

    This just changes the excel window not the html window?

    Any ideas?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1