Formatting Data in a Text File from Exported PDF Comments

augiecollins

New Member
Joined
Oct 2, 2019
Messages
2
I am trying to format a text file, that is the result of exporting PDF comments from Adobe, into a table when I import it. The text file is formatted like this, with the comments on a certain page being located beneath the page number.

Summary of Comments on RandomDocmument.pdf
Page: 1

Author: A Subject: Text Box Date: 9/19/2019 12:50:11 PM
Long comment. Several sentences separated by periods.
Author: B Subject: Cross-Out Date: 9/19/2019 12:56:13 PM
Page: 9

Author: C Subject: Text Box Date: 9/19/2019 4:07:23 PM
More Comments. Sometimes they are dashed like so.
-
Comment 1.
-
Comment 2.
Page 16:

Author: D Subject: Text Box Date: 9/19/2019 4:07:23 PM
Another comment.



[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Comment No.
[/TD]
[TD]Reviewer Name
[/TD]
[TD]Type
[/TD]
[TD]Pg. #
[/TD]
[TD]Comment
[/TD]
[TD]Date
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]A
[/TD]
[TD]Text Box
[/TD]
[TD]1
[/TD]
[TD]Long comment...
[/TD]
[TD]9/19/2019 12:50:11
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]B
[/TD]
[TD]Cross-Out
[/TD]
[TD]1
[/TD]
[TD]Long comment by different...
[/TD]
[TD]9/19/2019 12:56:13
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]C
[/TD]
[TD]Text Box
[/TD]
[TD]9
[/TD]
[TD]More comments.
-Comment 1.
-Comment 2.
[/TD]
[TD]9/19/2019 4:07:23
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]D
[/TD]
[TD]Text Box
[/TD]
[TD]16
[/TD]
[TD]Another comment
[/TD]
[TD]9/19/2019 4:0723
[/TD]
[/TR]
</tbody>[/TABLE]


I want to format the data into a table like this when it is imported. Any help is appreciated!
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Forgot to add a comment after the line with Author B, it should read "Long comment by different author on the same page."
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,219
Members
452,620
Latest member
dsubash

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top