>hi, how are you, I need your help please need to insert a table in Word with automation
>in a specific product until the insert but always on the first page now, thanks
You need to create a range variable for the location where you want the table and pass that as the first parameter to the Tables.Add method. If you always want to put the table in the same place in a standard document or template, one easy way to do it is to set up a bookmark for the location to place the table when you create the standard document/template. Then at runtime, you can do something like:
oTableRange = oDoc.Bookmarks["PutTableHere"]
oDoc.Tables.Add(m.oTableRange, ...)
Tamar