LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Report Post  
Posted to microsoft.public.excel.programming
HA HA is offline
external usenet poster
 
Posts: 4
Default Getting Zoom Factor

Hi,

Thanks for the answer.
I'm trying to write a udf to calculate a cell or cell group width in cm. if .zoom property of PageSetup class not set to a logical value, I can calculate the width of cells in centimeter with the zoom ratio to see how it looks like on printout. The problem is if .zoom property set to false, I can not get the zoom ratio from PageSetup because it is calculated on fly.

I think, I give writing udf up and return to use workbook events.

Thanks a lot again....

--
HA
"okaizawa" , haber iletisinde ?unlar? ...
Is there any way to use that code in a User Defined Function.

I don't think it is possible in a cell formula.
how about Worksheet_Change or Worksheet_Calculate?

http://msdn.microsoft.com/library/en...HV05199719.asp
http://msdn.microsoft.com/library/en...HV05199619.asp

--
HTH,
okaizawa

HA wrote:
Hi,

Thanks for the code. I have one more question.

Is there any way to use that code in a User Defined Function.

thanks in advance...

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
X Factor into Percent... Joseph Hand Excel Worksheet Functions 3 February 24th 10 09:54 AM
Please help! Print Preview Zoom is Grayed Out...Doesn't zoom. PK Excel Discussion (Misc queries) 0 July 20th 09 03:33 PM
Time factor Debbie Excel Worksheet Functions 7 June 8th 09 10:22 PM
IF FACTOR? Bernadette Excel Discussion (Misc queries) 2 June 8th 06 01:51 PM
Growth Factor Laura Excel Discussion (Misc queries) 2 May 15th 06 10:43 PM


All times are GMT +1. The time now is 01:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"