XLCubed is now FluenceXL. The new wiki can be found here: https://help.fluencexl.com/ |
Difference between revisions of "XL3DynamicPicture"
Line 21: | Line 21: | ||
|} | |} | ||
+ | ==Example== | ||
+ | You can setup a named image by inserting a picture using the standard Excel menu option. | ||
+ | |||
+ | Next set the Picture name by right-clicking it, and selecting properties. The name goes in the "Alternate Text" box. | ||
+ | |||
+ | [[Image:DynamicPicture_SetName.png|450px|centre]] | ||
+ | |||
+ | Finally set up a formula, e.g. | ||
+ | {{Code|=XL3DynamicPicture("MyLogo"; "http://www.example.com/logo.jpg")}} | ||
+ | |||
+ | Here the Url paramater is fixed, but it could be set to reference another cell or concatenated text. | ||
==See Also== | ==See Also== |
Revision as of 16:25, 22 July 2011
Updates a Picture or Pictures to an image on the internet.
This allows you to display an Picture based on a parameter in Excel. For example if a report is driven by a Store parameter, you could use this to display a picture of the store.
This function is primarily for use in reports published to the web where images update automatically. In Excel you can force a refresh of the images by using the XLCubed -> Extra -> Refresh Dynamic Pictures menu option.
Contents
[hide]Syntax
XL3DynamicPicture( PictureName, Url )
Parameters
Parameter | Description |
---|---|
PictureName | Name of the Picture to update. If several Pictures have the same name they will all be updated. |
Url | Web address of the image to use, in the form http://www.example.com/logo.jpg. |
Example
You can setup a named image by inserting a picture using the standard Excel menu option.
Next set the Picture name by right-clicking it, and selecting properties. The name goes in the "Alternate Text" box.
Finally set up a formula, e.g.
Here the Url paramater is fixed, but it could be set to reference another cell or concatenated text.