Page Number using Macro

Thanks for the script :smiley:

I am just trying the code.
I share the entire code here so you where I am going wrong