 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
bociansan
Joined: 20 Mar 2007 Posts: 2
|
Posted: Tue Mar 20, 2007 3:04 pm Post subject: Spreadsheet_Excel_Writer - amount of page, how? |
|
|
Hi!!
I work with Spreadsheet_Excel_Writer and I need to count amount of page (how many pages will be after printing) in excel file. After counting I must write this number to this file.
Do you know how do it?
best regards
bociansan |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1003
|
Posted: Tue Mar 20, 2007 4:09 pm Post subject: Re: Spreadsheet_Excel_Writer - amount of page, how? |
|
|
| bociansan wrote: | I work with Spreadsheet_Excel_Writer and I need to count amount of page (how many pages will be after printing) in excel file. After counting I must write this number to this file.
Do you know how do it? |
PHP or S_E_W can't know the number of pages because the number depends on many things, e.g. the chosen printer and its margins.
But Excel has formulas that allow you to insert both the current page number and the total number of pages. The names of these formulas can be found in the Excel help. |
|
| Back to top |
|
 |
bociansan
Joined: 20 Mar 2007 Posts: 2
|
Posted: Wed Mar 21, 2007 9:52 am Post subject: Re: Spreadsheet_Excel_Writer - amount of page, how? |
|
|
| mark wrote: | | bociansan wrote: | I work with Spreadsheet_Excel_Writer and I need to count amount of page (how many pages will be after printing) in excel file. After counting I must write this number to this file.
Do you know how do it? |
PHP or S_E_W can't know the number of pages because the number depends on many things, e.g. the chosen printer and its margins.
But Excel has formulas that allow you to insert both the current page number and the total number of pages. The names of these formulas can be found in the Excel help. |
ok, thanks for reply |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|