excel - Access the interior color of a cell style from VBA? -


my workbook has cell style called "normal formula". possible access interior color of cell style vba?

i've tried:

rcell.interior.color = activedocument.styles("normal formula").interior.color 

but vbe gives me object required error.

the code found msdn word. when replaced activedocument thisworkbook, code worked.

rcell.interior.color = thisworkbook.styles("normal formula").interior.color 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -