Created
August 28, 2017 09:36
-
-
Save rdapaz/7198fe89fbca267bd332a5ea6ba44fc4 to your computer and use it in GitHub Desktop.
Update Cells in a Table with the Same Value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Sub Test() | |
Dim c As Word.cell | |
Set c = Selection.Tables(1).cell(1, 1) | |
For Each c In Selection.Cells | |
c.Range.Text = "$NIL" | |
Next c | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment