clearing tables before updating with macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a macro that updates a summary table with user entered information in a detail table
This macro can be run a number of times
How do i clear the summary table before updating it via the macro

Many thanks
 
Here's one way:

Dim pCell as Word.Cell

Set pCell = Selection.Tables(1).Cell(1,1)
Do
pCell.range.text = ""
set pCell = pCell.Next
Loop until pCell is nothing
 
Back
Top