I need to reference column numbers so columns can be hidden for print setting. The area is controlled by Option Buttons .The function below gives me 2 variables firstly the column numbers of where all option buttons are (stored in myArr) and secondly the column number of the selected option button.
Because months are both 5 as well as 4 week I need the printed area to be "Selected Radio Button Column" ie variable shpCol and the corresponding column value which is 2 values back from the shpCol value in the array +1. The Option Buttons are positioned at the right extreme of the month worth of week columns.
I can provide workbook if requested.
any pointers appreciated
Bookmarks