hi experts the following code is giving me error when i have copied it from another wksht where it works perfectly to a new wksht then does not work & shows errors, see below. . vba code compile error_06.1.PNG
Or in other words, The code relies on a sub / function which also resides in a module in the same workbook. To make it work, copy both to the new workbook.
Frank .S
ASKER
thankyou bembi
Frank .S
ASKER
ive noticed now that i have copied the code into the module & then the other code also to hilite the row & columns, i have copied the code into another wksht in the same wkbk but it does not hilite the entire column only above the active cell, why is that? see attached screenshot. vba-code-hilite-rows---columns_1.PNG
The code relies on a sub / function which also resides in a module in the same workbook.
To make it work, copy both to the new workbook.