PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Spreadsheet_Excel_Writer - amount of page, how?

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> File Formats
View previous topic :: View next topic  
Author Message
bociansan



Joined: 20 Mar 2007
Posts: 2

PostPosted: Tue Mar 20, 2007 3:04 pm    Post subject: Spreadsheet_Excel_Writer - amount of page, how? Reply with quote

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
View user's profile Send private message
mark



Joined: 07 Jan 2007
Posts: 1000

PostPosted: Tue Mar 20, 2007 4:09 pm    Post subject: Re: Spreadsheet_Excel_Writer - amount of page, how? Reply with quote

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
View user's profile Send private message
bociansan



Joined: 20 Mar 2007
Posts: 2

PostPosted: Wed Mar 21, 2007 9:52 am    Post subject: Re: Spreadsheet_Excel_Writer - amount of page, how? Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> File Formats All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software