Hi Gang,
I have to deal with a lot of xml report files that all have a header string and my problem is how to parse the string for the nuggets i require for my macro.
This is a sample string:
<Function IDREF="TST_RxRccsMatrix_Rx64" Start="2011-04-07T14:21:35.593000+02:00" Status="Success" Tags="SystemSerialNumber:41009" End="2011-04-07T14:29:16.625000+02:00">
I need to extract
- the report type: TST_RxRccsMatrix (length of this string is not constant)
- the start date-time stamp: 2011-04-07T14:21:35.593000+02:00 (length is constant)
- the serial number: 41009 (length is constant)
I have found methods using Split, InStr and Left but none produce the desired results for all three extractions. The one stumping me is the report type.
I truely appreciate any help on this!
Bookmarks