Page 1 of 1

Write On EXCEL Page 2

PostPosted: Wed Apr 25, 2018 12:20 pm
by acwoo1
Hi

cName = "socie"
oExcel:Sheets( cName ):Select()
oSheet:Cells( 1, 1 ):Value="ABC"

cName = "socif"
oExcel:Sheets( cName ):Select()
oSheet:Cells( 1, 1 ):Value="BCD"

Only page 1 is updated.
Page 2 is not updated.
how to update two pages.

Thanks

ACWoo
Using FWH + bcc582

Re: Write On EXCEL Page 2

PostPosted: Wed Apr 25, 2018 2:54 pm
by Enrico Maria Giordano
It should work. Please show a little sample that can be compiled and run, with the Excel file included.

EMG

Re: Write On EXCEL Page 2

PostPosted: Wed Apr 25, 2018 3:00 pm
by hua
After you activate the other sheet did you reassign oSheet with the new active sheet?

Re: Write On EXCEL Page 2

PostPosted: Wed Apr 25, 2018 3:04 pm
by Enrico Maria Giordano
Right, that could be the problem.

EMG

Re: Write On EXCEL Page 2

PostPosted: Thu Apr 26, 2018 5:02 am
by acwoo1
Thanks

It works.

Regards

AC Woo