Link to home
Start Free TrialLog in
Avatar of al4629740
al4629740Flag for United States of America

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
Avatar of Norie
Norie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of al4629740

ASKER

I used the following, but to no avail

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

You appear to be missing the = before SUM.
 oTable.Cell(18, 2).Formula Formula:="=SUM(Above)"

Open in new window