Does anyone have a routine that parses/simulates Word's individual page print option. It's the option that allow you to specify a group of individual pages by delimiting them by a comma. You can include a range by specifiying the starting and ending points and seperating them by a hyphen (-). For example:
1,2,5-10,12
What I'd like to get is a list of the individual pages, maybe in an array or something:
1,2,5,6,7,8,9,10,12
TIA
-Mike