By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,398 Members | 1,034 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,398 IT Pros & Developers. It's quick & easy.

How to export colors from MSFlexgrid to excel ??

P: n/a
Hi !

I have a MSFlexgrid control in a form (much like a calender)
When I try to export this to excel by using code (excel.application
etc)

I cant get the colors right !?!

Ex. I have a color that is dark pink colorcode 16711935 (Picked up
from a commondialog control with cmdlg.showcolor)

If I try to set a excelcell with this color I get dark Gray instead
?!?
Why??

The code to do this is:
Set excel = CreateObject("Excel.application")
excel.selection.interior.color = 16711935

Please help me with this problem !!!
Thanx in advance !
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.