Home > Software engineering >  Ask a WORD form in the VBA
Ask a WORD form in the VBA

Time:11-15

To how fast query WORD to be processed in a form of ID, convenient TABLE () is used, the total number, not a great god provides the tips of all stripes,

CodePudding user response:

 
If ActiveDocument. Tables. Count> 0 Then
The Set tRange=ActiveDocument. Range (_
Start:=ActiveDocument. Tables (1). The Range. The Start, _
End:=ActiveDocument. Tables (ActiveDocument. Tables. Count). Range. End)
TRange. Next
'... .
EndIf

?

CodePudding user response:

https://docs.microsoft.com/zh-cn/office/vba/api/word.tables
  •  Tags:  
  • VBA
  • Related