Delete Row

N

Neil

Hi there,

I'm trying to delete selected rows from a table using;

Selection.Rows.Delete

This works when i use Macro run. However when i assign the
Macro to a Command Button i get the following error msg
"RunTime error 4605 - Part or all of the object is not
assigned to the table"

Not sure what is happening here? The macro works fine
otherwise, just not when it is assigned to the Command
Button!

I'd be grateful for any help

Thanks in advance from Switzerland

Platform Word 2000, Windows 2000

Neil
 
Top