Word vba 에서 현재 표 의 번 호 를 가 져 옵 니 다.
3100 단어 wordvba표 번호VBAOffice+WPS
Sub ()
With Selection
If .Information(wdWithInTable) = True Then
If .Cells.Count = 1 Then
StrAddr = "T" & Selection.Tables(1).Range.Start & "R" & .Cells(1).RowIndex & "C" & .Cells(1).ColumnIndex
Else
StrAddr = "No Table Or More Tables "
End If
Else
MsgBox " ", vbOKOnly + vbCritical, " "
Exit Sub
End If
End With
Dim tempTable As Table
Dim i As Integer
i = 1
For Each tempTable In ActiveDocument.Tables
tempTable.ID = i
i = i + 1
Next
MsgBox " " & Selection.Tables(1).ID & " ", vbOKOnly + vbInformation, " "
End Sub
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Java에서 Word를 암호로 보호된 PDF로 변환MS Word에서 계약 또는 법적 문서를 편집할 때 더 나은 전송 또는 인쇄를 위해 PDF로 변환해야 할 수 있습니다. 일부 기밀 문서의 경우 다른 사람이 스누핑하는 것을 방지하려면 지정된 사람만 이러한 문서에 액세...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.