I am not sure what you are trying to achieve as I am not sure what you mean by Tabultion Index.

Are you aware that you can convert the macro to VBA code?