Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA 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
 
Old July 11th, 2004, 04:45 PM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using a CSS stylesheet with Microsoft Excel and We

I have been trying to figure out a way to tell Excel that when it saves a spreadsheet in the .html format to save its CSS data to an external file rather than including it within the .htm file.

The problem I am trying to solve is to allow the it to have a STYLE="background-color:transparent" parameter on the HTML BODY tag. Using the transparent allows the page to show an existing wallpaper or background color for the file when loading the file into an <iframe>. It kind of makes a nice touch.

If there was an external style sheet then I'm sure you could set that parameter in it.

I could just go in and edit the .htm source to add the parameter. However, external users will be using the spreadsheet I develope and I wouldn't want them to hand edit the .htm file.

There may be another solution where you could possibly use some VB code in the spreadsheet to set that parameter but I didn't see the BODY tag as being able to set.

Thanks in advance.

Best regards,
Al, InfoSports.com
 
Old July 11th, 2004, 10:56 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

This forum is for site feedback, so you're not likely to get help on technical questions here. Try one of the VB forums.

Regards,
Rich

::::::::::::::::::::::::::::::::::::::::::
The Spicy Peanut Project
http://www.spicypeanut.net
::::::::::::::::::::::::::::::::::::::::::





Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Excel Driver Error cancer10 Classic ASP Databases 0 January 23rd, 2007 06:42 AM
Export to Microsoft Excel lamdog ASP.NET 1.0 and 1.1 Basics 1 June 9th, 2006 08:56 AM
Help with CSS in Excel decyclone BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 1 March 27th, 2006 09:09 AM
CSS 2 Stylesheet jainnid CSS Cascading Style Sheets 1 July 6th, 2005 01:16 AM
i need help with css stylesheet DSteven CSS Cascading Style Sheets 2 February 13th, 2005 02:10 PM





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