VulcanJedi
Technical User
What's wrong with this code?
It should loop through multi- sheets, highlighing range yellow: This code currently runs on the MAIN sht(which isn't to be touched.) otherwise, activesheet or explicitly prefixing 'range' or 'cells' causes a 1004 error / applicatoin crash?
Just trying to highlight suspect row of 10 cells across. Done this before and don't understand why its crashing now. All variables contain values... help?
Range(Cells(a + xtraRows, 1), Cells(a + xtraRows, TPN + aux + xtraCols)).Interior.ColorIndex = 6
Tranpkp ![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
It should loop through multi- sheets, highlighing range yellow: This code currently runs on the MAIN sht(which isn't to be touched.) otherwise, activesheet or explicitly prefixing 'range' or 'cells' causes a 1004 error / applicatoin crash?
Just trying to highlight suspect row of 10 cells across. Done this before and don't understand why its crashing now. All variables contain values... help?
Range(Cells(a + xtraRows, 1), Cells(a + xtraRows, TPN + aux + xtraCols)).Interior.ColorIndex = 6
![[yinyang] [yinyang] [yinyang]](/data/assets/smilies/yinyang.gif)
![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)