+ Reply to Thread
Results 1 to 3 of 3

Saving as Web Page

  1. #1
    Forum Contributor
    Join Date
    12-04-2003
    Location
    Burrton, Kansas USA
    MS-Off Ver
    2003
    Posts
    162

    Saving as Web Page

    Hi!
    Is there a code that will "Save as Web Page", the print area of the currently active worksheet and give it a file name based on referencing a cell within the currently active worksheet?
    I've been searching for this for some time and cannot seem to find anything. Perhaps I'm just looking in the wrong place!
    Thanks for any help or advise!

  2. #2
    Tom Ogilvy
    Guest

    RE: Saving as Web Page

    Dim rng as Range
    set rng = Activesheet.Names("Print_Area")
    activesheet.copy
    activesheet.clearcontents
    rng.copy Activesheet.Range(rng.Address).Paste

    activeworkbook.SaveAs "C:\Myfolder\ & rng.parent.Range("B9").text & .html",
    xlHtml

    might get you started.

    --
    Regards,
    Tom Ogilvy


    "Brian Matlack" wrote:

    >
    > Hi!
    > Is there a code that will "Save as Web Page", the print area of the
    > currently active worksheet and give it a file name based on referencing
    > a cell within the currently active worksheet?
    > I've been searching for this for some time and cannot seem to find
    > anything. Perhaps I'm just looking in the wrong place!
    > Thanks for any help or advise!
    >
    >
    > --
    > Brian Matlack
    > ------------------------------------------------------------------------
    > Brian Matlack's Profile: http://www.excelforum.com/member.php...fo&userid=3508
    > View this thread: http://www.excelforum.com/showthread...hreadid=531945
    >
    >


  3. #3
    Forum Contributor
    Join Date
    12-04-2003
    Location
    Burrton, Kansas USA
    MS-Off Ver
    2003
    Posts
    162
    Thanks Tom!!

+ 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