Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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?

Reply With Quote
  #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
Reply With Quote
  #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

Reply With Quote
  #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
Reply With Quote
  #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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


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



All times are GMT -4. The time now is 06:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.