Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 13th, 2004, 09:45 AM
Registered User
 
Join Date: Apr 2004
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default ANYONE: Page Break in Excel / Font Style

How do I write ASP-code that generates PageBreaks on command. And how do I change the font type?

  #2 (permalink)  
Old December 13th, 2004, 06:24 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

;;;PageBreaks
?????

;;;Changing font type
There are two ways:
1..This is arial font type
2..Using Cascading Style Sheets (CSS)

Put this in the head of your document after the <head> but before the </head>

---------------------cut n paste------------------------
<style>
body {FONT-FAMILY: arial;font-size: 10px;color: #c41200;}
td {FONT-FAMILY: verdana;font-size: 15px;color: #999999;}
</style>
---------------------cut n paste finish-----------------

All text outside a <td> will take the body attbs
All text inside a <td> will take the td attbs

Look up CSS all will be revealed


Wind is your friend
Matt
  #3 (permalink)  
Old December 16th, 2004, 06:31 AM
Registered User
 
Join Date: Apr 2004
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, but I need some ASP code that will write font formatting properties to a specific cell in an Excel document.

... and some code to make page breaks.

Tricky one...

Sigbjorn

  #4 (permalink)  
Old December 16th, 2004, 05:18 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

In future please be more detailed in your post, the differences in your two posts above are ridiculous.

Wind is your friend
Matt
  #5 (permalink)  
Old December 20th, 2004, 01:09 PM
Registered User
 
Join Date: Apr 2004
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Mat41!

Sorry but I don't understand your problem...

I specified that I had problems with Excel formattings in the header. Sorry if you didn't see that, guess I should have specified that in the text, not only the heading...

Ridiculous?? Well, in your eyes maybee. Not in mine... People are different...

Have a nice day...

Sigbjorn



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change treeview node font-style programmatically panuvin C# 2005 2 December 15th, 2007 02:59 AM
Page Break in Excel Report diptypatil J2EE 0 October 23rd, 2007 06:37 AM
Excel insert Page Break from VB6 shurl Pro VB 6 1 March 2nd, 2007 04:56 AM
Different Font Style For Elements in Drop Down Box kunal_kishan HTML Code Clinic 1 July 11th, 2006 09:01 AM
Page Breaks and Font Style in Excel shagaset Classic ASP Professional 2 December 14th, 2004 10:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.