Example 3: Import one Or More Tables into One or More Workbooks

Example 3A: Single Table Import To A New Workbook

In this example we show how to take the 3rd table within c:\input\In.DOC and place into a new workbook C:\Output\Out-3.XLS, in a new worksheet called "Peaches_3" beginning at cell D3. We remove the table formatting.

ConvertXLS.EXE /S"C:\Input\In.Doc" /T"C:\Output\Out.XLS" /P115 /1"3" /2 1 /3 "Peaches" /4 D3 /9 TRUE

In this case the following workbook will be created:

C:\Output\Out-3.XLS (contains a single sheet named "Peaches_3")

 

Example 3B: Several Table Import To Several New Workbooks

In this example we show how to take tables 1,3 and 4 within c:\input\In.DOC and place into several new workbooks. Tables are placed beginning at cell D3. We remove the table formatting.

 

ConvertXLS.EXE /S"C:\Input\In.Doc" /T"C:\Output\Out.XLS" /P115 /1"1,3-4" /2 1 /3 "Peaches" /4 D3 /5 6 /9 TRUE

 

In this case the following workbooks will be created:

C:\Output\Out-1.XLS (contains a single sheet named "Peaches_1")

C:\Output\Out-3.XLS (contains a single sheet named "Peaches_3")

C:\Output\Out-4.XLS (contains a single sheet named "Peaches_4")