Add Date and PageNumber in Footer at word document

Hello Everyone,

I need to add the Current Date in LHS of Footer and Add the Page Number like Page 1, Page 2, Page 3 etc in RHS of Fooder of word document. i have searched in UiPath, this is not possible by using UiPath Activities. i have choosed the Macro. I created the Macro for adding the Date and Page Number. Date is added Correctly but i did not get the to add the page number like Page 1, Page 2 etc in Footer. Please find the my Macro code and Correct this for adding Pagenumber.
AddPageNumber.txt (2.2 KB)

@Kaviya_V
Check this below link,

Hope this may help you :slight_smile:

hi i can added the date, but i can not add the “Page” text With page number in RHS of fooder by using below macro,

footerRange.paragraphs.Last.range.Text = Format(Now, “Short Date”) & “” & " Page " & Section.range.Information(wdActiveEndPageNumber) & " of " & Section.range.Information(wdNumberOfPagesInDocument)

if you have doubt please find the attachment.

Hello @Kaviya_V , You can try by Send hotkey
Use attach window and use the activity Send Hotkey in it.
Shift+Alt+P