Keeping ColorIndex in a variable (VBA/Excel) -


i have code change color of entire row, highlighting when cell chosen. problem when want row anterior color.

rows(activecell.row).interior.colorindex = 15 

that changes color 15, want keep anterior color in variable use here. how do it?

many :)

'declare new variable  dim anteriorcolor  'set new variable  anteriorcolor = rows(activecell.row).interior.colorindex 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -