How to read partial document and save only that portion as .docx file in Word office.js

How to read partial document and save only that portion as .docx file in Word office.js
0

Upvotes

Upvote

 Sep 21 2023
0 Comments 
New

Dear Team,

Firstly, Thanks for your quick responses and instant fixes, That give us strength to provide something new to Add-in community.
To continue this thing, I am adding one more feature request in your bucket list.

I have a specific need to extract and select particular pages or sections of a Word document and then save that selection as a separate .docx file. How can I accomplish this task programmatically using office.js?

Note: I don't want to use oneDrive due to some company policy.

My Environment
Platform : PC desktop
Host: Word
Office version number: Microsoft® Word for Microsoft 365 MSO (Version 2308 Build 16.0.16731.20052) 64-bit
Operating System: Windows 10 pro