View Single Post
  #1   Report Post  
Posted to microsoft.public.word.tables
Benny
 
Posts: n/a
Default can anybody help me in using the function "converttotable"

I am writing Word Automation Code in C++ and I want to convert the strings
below to a table using the parameter "wdSeparateByCommas", but it throws a
exception ,the error code is 4608. But when I copy these strings into word
and do the convertion by menus, word just do very well, can anybody help me?
The strings :
description,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.0 0,,1200.00,0.00,100.95,1200.00,0.00,0.00,0.00,0.00 ,,1342.23,23.71,100.95,1338.21,-5.51,28.48,-5.51,5.00,,1552.57,23.71,100.95,1530.80,-21.57,111.50,-21.57,0.00,,2232.51,91.00,300.00,2000.17,199.79,-134.73,199.79,5.00,,2242.51,91.00,300.00,2000.00,2 04.79,-143.39,204.79,0.00,,2273.10,90.00,305.00,1999.73,2 21.22,-169.18,221.22,5.00,,5600.00,90.00,305.00,1999.73,2 129.45,-2894.42,2129.45,0.00