Hi!
I have spent the last few days trying to make a macro in vba to customize the right header, in a excel sheet with multiple pages, but without much success. :-(
I need some help to do the following macro:
"In first right header page": N. M001 to M002
"In second right header page": N. M003 to M004
"In third right header page": N. M005 to M006
"In fourth right header page": N. M007 to M008
"In fifth right header page": N. M009 to M010
"In sixth right header page": N. M011 to M012
"In seventh right header page": N. M013 to M014
"In eighth right header page": N. M015 to M016
..
..
..
to the last page
Thanks in advance

I have spent the last few days trying to make a macro in vba to customize the right header, in a excel sheet with multiple pages, but without much success. :-(
I need some help to do the following macro:
"In first right header page": N. M001 to M002
"In second right header page": N. M003 to M004
"In third right header page": N. M005 to M006
"In fourth right header page": N. M007 to M008
"In fifth right header page": N. M009 to M010
"In sixth right header page": N. M011 to M012
"In seventh right header page": N. M013 to M014
"In eighth right header page": N. M015 to M016
..
..
..
to the last page
Thanks in advance