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
Post a Comment