Add value to PageRef field

I have the PageRef field in my Word doc like this:

PAGEREF BM_1 # "0"
Do Word or Aspose have the way to update that PageRef to that value + 1.
For example: if my BM_1 in page 28, my field will show 29.

Thanks a lot for help.

Hi


Thanks for your request. I think you should use formula field with nested pageref field in this case.

{= {PAGEREF BM_1} + 1 # “0”}

Hope this helps.

Best regards,