Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert report form to excel
Message
From
28/03/2016 14:25:28
 
 
To
28/03/2016 13:04:02
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01631673
Message ID:
01633865
Views:
85
>Ive tried the automation as you suggested, and it works, but i cant figure out how to put the formula as value using the variables in setting the range of cells
>
>rows=8
>cols=1
>
>rows=rows+2
>
>oExcel.Cells(rows,Cols+5).Value = "=SUM(F8:F&rows)" && this doesnt work, it doesnt turn into =sum(F8:F10) having problem with setting the range of cell
>
>any suggestions please
>
>thanks

Variable 'rows' is a numeric -- so it won't work with macro expansion in VFP
Previous
Reply
Map
View

Click here to load this message in the networking platform