| 发表于:2007-12-12 08:43:38 楼主 |
在asp.net中导入word 我创建了三个表 dim wordapp as new word.application() dim mydoc as word.document dim otable as word.table dim otable1 as word.table dim otable2 as word.table otable = mydoc.tables.add(range:=mydoc.range(start:=0, end:=0), numrows:=8, numcolumns:=1) otable1 = mydoc.tables.add(range:=mydoc.range(start:=mydoc.range.end - 1, end:=mydoc.range.end), numrows:=1 + rows1, numcolumns:=8) otable2 = mydoc.tables.add(range:=mydoc.range(start:=mydoc.range.end - 1, end:=mydoc.range.end), numrows:=7 * dgrow + 6, numcolumns:=1) 我想实现三个表控制不同的格式,但是otable是能独立控制,otable1控制的时候包含otable,otable2控制的时候otable,otable1都会改变,请问高手怎么解决? |
|
|
|
|