X
xu1890
Unregistered / Unconfirmed
GUEST, unregistred user!
程序如下:
VARIANT varWhat;
VARIANT varWhich;
VARIANT varCount;
VARIANT varName;
varWhat.vt=VT_INT;
varWhich.vt=VT_INT;
varCount.vt=VT_INT;
varName.vt=VT_INT;
varWhat.intVal=3;//wdGotoLine = 3
varWhich.intVal=1;
varCount.intVal=1;//
varName.intVal=1;
window=app.GetActiveWindow();
selection=window.GetSelection();
selection.GoTo(&varWhat,&varWhich,&varCount,&varName);
为什么word这个什么没有移动到第2行,而是移动到了第11行。
请告知,感激不尽!
VARIANT varWhat;
VARIANT varWhich;
VARIANT varCount;
VARIANT varName;
varWhat.vt=VT_INT;
varWhich.vt=VT_INT;
varCount.vt=VT_INT;
varName.vt=VT_INT;
varWhat.intVal=3;//wdGotoLine = 3
varWhich.intVal=1;
varCount.intVal=1;//
varName.intVal=1;
window=app.GetActiveWindow();
selection=window.GetSelection();
selection.GoTo(&varWhat,&varWhich,&varCount,&varName);
为什么word这个什么没有移动到第2行,而是移动到了第11行。
请告知,感激不尽!