- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone
I created a program for myself that sends tables to Excel. For me it works great.
While formatting cells in Excel, I wanted to have fun with colors and I found out how to color the cell contents with basic VBA colors [(vlax-put (vlax-get cell 'Font) 'ColorIndex NoColor)).]
https://learn.microsoft.com/en-us/office/vba/api/excel.colorindex
However, this color set is incompatible with autocad colors and I wanted to switch to the RGB color set.
I think, I can use:
a) (vlax-put (vlax-get cell 'Font) 'RGB ???)
or
b) (vlax-put (vlax-get cell 'Font) 'Interior.Color ???)
but unfortunately I don't know what to put instead ??? - my English is insufficient.
Maybe one of you knows how to do it.
Jerzy
Solved! Go to Solution.