PC Review


Reply
Thread Tools Rate Thread

How to detect the PictureStackUnit ?

 
 
ehhm35
Guest
Posts: n/a
 
      5th Apr 2004
Dear Reader

Thank you for your attention. In my Macro in Excel, I had
the following statement to make the column chart filled with Sample.jp
with scale 500:1

Selection.Fill.UserPicture PictureFile:= _
' "C:\Documents and Settings\Administrator\My Documents\M
Pictures\Sample.jpg", _
PictureFormat:=xlStackScale, PictureStackUnit:=500
PicturePlacement:= _
xlAllFaces
'Selection.Fill.Visible = True
============================
My problem is , I do not know what should i write in ????
MsgBox ????
in order to detect the PictureStackUnit

I had tried
MsgBox SeriesCollections(1).Fill.UserPicture.PictureStackUnit
But it does not work
because I think .UserPicture just pass 4 parameters to the class.

Would you help me a bit , if you can!
Thanks you very much for your attention

My email is (E-Mail Removed)
Anthony H

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      10th Apr 2004
Anthony -

You need to call it by its other name.

ActiveChart.SeriesCollection(1).PictureUnit

This tells you how it was scaled:

ActiveChart.SeriesCollection(1).PictureType

The constants are 1: Stretch, 2: Stack, 3: StackScale.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

ehhm35 < wrote:

> Dear Reader
>
> Thank you for your attention. In my Macro in Excel, I had
> the following statement to make the column chart filled with Sample.jpg
> with scale 500:1
>
> Selection.Fill.UserPicture PictureFile:= _
> ' "C:\Documents and Settings\Administrator\My Documents\My
> Pictures\Sample.jpg", _
> PictureFormat:=xlStackScale, PictureStackUnit:=500,
> PicturePlacement:= _
> xlAllFaces
> 'Selection.Fill.Visible = True
> ============================
> My problem is , I do not know what should i write in ????
> MsgBox ????
> in order to detect the PictureStackUnit
>
> I had tried
> MsgBox SeriesCollections(1).Fill.UserPicture.PictureStackUnit
> But it does not work
> because I think .UserPicture just pass 4 parameters to the class.
>
> Would you help me a bit , if you can!
> Thanks you very much for your attention
>
> My email is (E-Mail Removed)
> Anthony Ha
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>


 
Reply With Quote
 
ehhm35
Guest
Posts: n/a
 
      12th Apr 2004
Dear Jon Peltier, Microsoft Excel MVP


Your great help save my work a lot
Thanks you very much

If you need any help in future, feel free to email me!
Thanks you Jon Peltier, Microsoft Excel MVP


From (E-Mail Removed) Anthony Ha

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      13th Apr 2004
Anthony -

Glad to help.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

ehhm35 < wrote:

> Dear Jon Peltier, Microsoft Excel MVP
>
>
> Your great help save my work a lot
> Thanks you very much
>
> If you need any help in future, feel free to email me!
> Thanks you Jon Peltier, Microsoft Excel MVP
>
>
> From (E-Mail Removed) Anthony Ha,
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Is it possible to detect... Terry Farrell Microsoft Word New Users 1 24th Jan 2010 10:12 AM
Re: Is it possible to detect... Luc Microsoft Word New Users 0 23rd Jan 2010 06:28 PM
Can sumif detect text strings or detect if a dollar sign $ is in a cell? MollyDavis Microsoft Excel Misc 4 17th Apr 2004 11:45 PM
Can sumif detect text strings or detect if a dollar sign $ is in a cell? MollyDavis Microsoft Excel Worksheet Functions 4 17th Apr 2004 11:45 PM
USB Gamepads un-detect, or never detect in XP Pro =?Utf-8?B?RkZYSWFkZGljdA==?= Windows XP Games 1 18th Jan 2004 05:16 AM


Features
 

Advertising
 

Newsgroups
 


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