Hello everyone:
I need to manually export .txt data into a word table every day.
Here is the raw text data in a comma separated value format:
Hostname, Percentage, N, Time, event details
Host1, 100.00%,,,
Host2,100.00%,,,
Host3,99.97%,1, 00:03:20 (200/712800), Mon Jan 27 10:02:32 2003 for 00:03:20
Host4,99.91%,2, 00:11:14 (674/712800), - BSOD - no additional info – rebooted. Thu Jan 9 13:19:13 2003 for 00:05:48. Mon Jan 27 12:06:54 2003 for 00:05:26
The data is manually used to produce a TABLE in WORD:
Host1 100.00%
Host2 100.00%
Host3 99.97% 1 00:03:20 (200/712800) View Event Detail
Host4 99.91% 2 00:11:14 (674/712800) View Event Detail
Can a program be written to import the raw data into a WORD TABLE?
The tricky part is the last field. If “event details” are present, then the table contains the words “view event detail” which is a “link” to comments. Manually those are created by highlighting the text “view event details” and pressing INSERT->COMMENT.
So I will need two steps of help:
1. how to put data into a word table
2. how to link the comments.
Thank you for any help
Yuli
I need to manually export .txt data into a word table every day.
Here is the raw text data in a comma separated value format:
Hostname, Percentage, N, Time, event details
Host1, 100.00%,,,
Host2,100.00%,,,
Host3,99.97%,1, 00:03:20 (200/712800), Mon Jan 27 10:02:32 2003 for 00:03:20
Host4,99.91%,2, 00:11:14 (674/712800), - BSOD - no additional info – rebooted. Thu Jan 9 13:19:13 2003 for 00:05:48. Mon Jan 27 12:06:54 2003 for 00:05:26
The data is manually used to produce a TABLE in WORD:
Host1 100.00%
Host2 100.00%
Host3 99.97% 1 00:03:20 (200/712800) View Event Detail
Host4 99.91% 2 00:11:14 (674/712800) View Event Detail
Can a program be written to import the raw data into a WORD TABLE?
The tricky part is the last field. If “event details” are present, then the table contains the words “view event detail” which is a “link” to comments. Manually those are created by highlighting the text “view event details” and pressing INSERT->COMMENT.
So I will need two steps of help:
1. how to put data into a word table
2. how to link the comments.
Thank you for any help
Yuli