Code to Change Style of Blank Spaces in Word DOC to Paragraph Style

Hi all,

I need code to get all blank spaces in word doc and check its style, if not in paragraph style, then need to update the blank space with paragraph style.
its an emergency requirement. please consider as priority.

Thanks and Regards,
Harish G


This Topic is created by awais.hafeez using Email to Topic tool.

I need code, i didn’t get any code

@HarishGali,
Could you please provide more information about your requirement? Please share what do you mean by ‘blank spaces in word doc’? Do you want to get the runs of a paragraph, which are consist of only white spaces?

To ensure an accurate response, please manually create your input and expected output Word document using Microsoft Word and attach them here for our reference. We will investigate how you want your final Word output be generated like. We will then provide you more information on this along with code.