Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default excel to html

Hi

I need to create an htmlfile from excel.
I know how to do that, but, when I want to print it, itīs too big for just
one page.

How to edit the file so that it fits on one page?
If I print it in excel it fits on one page.
I guess there has to be some code to change size before I create the
htmlfile.

This is the current code:
With ActiveWorkbook.PublishObjects.Add(xlSourceRange, _
ActiveWorkbook.Path & "\SendMail\" & sAnstnr
& "_" & g_sMailaMonth & ".htm", iblad.Name _
, sMonthRng2, xlHtmlStatic)
.Publish (True)
End With
bMailFilFinns = True

Anyone?

Thomas


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop excel from processing HTML? IE paste raw html. nick Excel Discussion (Misc queries) 2 April 21st 23 05:12 PM
Excel-Html puiuluipui Excel Discussion (Misc queries) 0 May 18th 10 05:09 PM
Excel to Html Maurizio Excel Discussion (Misc queries) 0 June 26th 05 08:03 PM
HTML to Excel Billing Goddess Excel Discussion (Misc queries) 5 December 10th 04 05:11 PM
HTML in Excel VBA Sheela Excel Programming 0 August 22nd 03 05:43 AM


All times are GMT +1. The time now is 10:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Đ2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"