Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I want to embed(insert) a file object in my current sheet from a external Java program. Is there any formula to perform this operation ? Thanks. Regards, Hemil |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you mean to create a link you can use the below formula
=hyperlink(link_location,friendly_name) If you are looking to embed a file then try the below macro. If you are new to macros.. --Set the Security level to low/medium in (Tools|Macro|Security). --From workbook launch VBE using short-key Alt+F11. --From menu 'Insert' a module and paste the below code. --Get back to Workbook. --Run macro from Tools|Macro|Run <selected macro() 'Change the <asd to file fullpath and filename Sub Macro3() ActiveSheet.OLEObjects.Add Filename:="<fullpath and filename within quotes", _ Link:=False, DisplayAsIcon:=True End Sub If this post helps click Yes --------------- Jacob Skaria "Hemil" wrote: Hi, I want to embed(insert) a file object in my current sheet from a external Java program. Is there any formula to perform this operation ? Thanks. Regards, Hemil |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I cannot use Macros as it cannot be invoked from my library. I need some function which can be executed to embed objects. "Jacob Skaria" wrote: If you mean to create a link you can use the below formula =hyperlink(link_location,friendly_name) If you are looking to embed a file then try the below macro. If you are new to macros.. --Set the Security level to low/medium in (Tools|Macro|Security). --From workbook launch VBE using short-key Alt+F11. --From menu 'Insert' a module and paste the below code. --Get back to Workbook. --Run macro from Tools|Macro|Run <selected macro() 'Change the <asd to file fullpath and filename Sub Macro3() ActiveSheet.OLEObjects.Add Filename:="<fullpath and filename within quotes", _ Link:=False, DisplayAsIcon:=True End Sub If this post helps click Yes --------------- Jacob Skaria "Hemil" wrote: Hi, I want to embed(insert) a file object in my current sheet from a external Java program. Is there any formula to perform this operation ? Thanks. Regards, Hemil |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
There is no inbuilt function in excel to embed an object.
From menu InsertObjectCreate from File Browse to navigate to folder and select the file InsertCheck 'Display as icon' and hit OK. If this post helps click Yes --------------- Jacob Skaria "Hemil" wrote: Hi, I cannot use Macros as it cannot be invoked from my library. I need some function which can be executed to embed objects. "Jacob Skaria" wrote: If you mean to create a link you can use the below formula =hyperlink(link_location,friendly_name) If you are looking to embed a file then try the below macro. If you are new to macros.. --Set the Security level to low/medium in (Tools|Macro|Security). --From workbook launch VBE using short-key Alt+F11. --From menu 'Insert' a module and paste the below code. --Get back to Workbook. --Run macro from Tools|Macro|Run <selected macro() 'Change the <asd to file fullpath and filename Sub Macro3() ActiveSheet.OLEObjects.Add Filename:="<fullpath and filename within quotes", _ Link:=False, DisplayAsIcon:=True End Sub If this post helps click Yes --------------- Jacob Skaria "Hemil" wrote: Hi, I want to embed(insert) a file object in my current sheet from a external Java program. Is there any formula to perform this operation ? Thanks. Regards, Hemil |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Embed object icon missing text and image | Excel Discussion (Misc queries) | |||
Hyperlink to Embed Object | Links and Linking in Excel | |||
can't use the control toolbox in excel to embed a flash object | Excel Discussion (Misc queries) | |||
How do I embed an object into a specific cell in Excel? | Excel Discussion (Misc queries) | |||
How can I embed a file as an unopened object in a worksheet or wo. | Excel Discussion (Misc queries) |