Free Support Forum - aspose.com

Font colors in classic ASP

How do you specify a cell's font color using VBScript in Classic ASP?

I can set the name of a cell's font as follows:

Sheet.Cells.item_3("A1").Style.Font.Name = "Comic Sans MS"

But how can I set the color of the font?

Hi,

Thanks for your inquiry.

We will get back to you soon for your issue.

Thank you.

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.

You have to create your own Wrapper / Helper class for your need to access Aspose.Cells APIs in Classic ASP. Please see the following article which will help you create the wrapper class (it’s regarding Aspose.Word but the same steps will be required for Aspose.Cells).

http://www.aspose.com/community/blogs/aspose.words-product-family/archive/2007/05/17/how-to-create-a-wrapper-to-assist-in-calling-aspose-words-methods-from-classic-asp.aspx

Thank You & Best Regards,