al4629740

asked on

# Add formula to table using VB6

I am trying to enter a SUM formula to a table in a Microsoft word document using VB6. Does anyone know the syntax for doing that?

ASKER CERTIFIED SOLUTION

membership

This solution is only available to members.

To access this solution, you must be a member of Experts Exchange.

You appear to be missing the = before SUM.

` oTable.Cell(18, 2).Formula Formula:="=SUM(Above)"`

ASKER

oTable.Cell(18, 2).Formula Formula:="SUM(Above)"