Set hyperlink in excel

I am importing one excel file INPUT.xls which contain one columnl with hyperlink which opens a PDF file.
From this file i am generating a new file with that hyperlinked column Which contain the same link as INPUT.xls file has.
How can i get that link from INPUT.xls file and set it in my output file OUTPUT.xls file
How can i do this.
I am using Oracle forms 10.1.2.02

i have tried the following code but i am not able to set hyperlink in excel..
Declare
application ole2.OBJ_TYPE;
workbook1 ole2.OBJ_TYPE;
workbooks1 ole2.OBJ_TYPE;
worksheet1 ole2.OBJ_TYPE;
worksheets1 ole2.OBJ_TYPE;
args1 ole2.List_Type;
file1 varchar2(300):='D:\final_new_backs_of_factory(Printout)_'||sysdate||'.xls';
cell ole2.obj_type;
begin
application := ole2.create_obj('excel.application');
ole2.set_property(application,'visible','true');
args1 := OLE2.Create_Arglist;
workbooks1 := OLE2.GET_OBJ_PROPERTY(application, 'Workbooks');
workbook1 := OLE2.INVOKE_OBJ(workbooks1,'Add');
worksheets1 := OLE2.GET_OBJ_PROPERTY(workbook1, 'sheets');
worksheet1 := OLE2.INVOKE_OBJ(worksheets1,'Add');
OLE2.SET_PROPERTY(worksheet1, 'Name', 'akarsh');
OLE2.DESTROY_ARGLIST(args1);
--ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= "Book%20Format%20A5%20size.xlsx", TextToDisplay:="RND"
args1 := ole2.create_arglist;
ole2.add_arg(args1,1);
ole2.add_arg(args1,1);
cell:=ole2.get_obj_property(worksheet1,'cells',args1);
ole2.set_property(cell,'value','rupal');
ole2.destroy_arglist(args1);
ole2.set_property(ole2.get_obj_property(cell,'font'),'Name','Cambria');
ole2.set_property(ole2.get_obj_property(cell,'font'),'size',11);
ole2.invoke(ole2.get_obj_property(worksheet1,'Hyperlinks'),'Add Anchor',cell);
ole2.invoke(ole2.get_obj_property(worksheet1,'Hyperlinks'),'Address','Book%20Format%20A5%20size.xlsx');
ole2.invoke(ole2.get_obj_property(worksheet1,'Hyperlinks'),'TexttoDisplay','Click');
--ole2.invoke(cell,'Hyperlinks.Add Anchor',args1);
--ole2.invoke(cell,'Hyperlinks.Address','Book%20Format%20A5%20size.xlsx');
--ole2.invoke(cell,'Hyperlinks.TextToDisplay','RND');
ole2.release_obj(cell);
OLE2.RELEASE_OBJ(worksheet1);
OLE2.RELEASE_OBJ(worksheets1);
OLE2.RELEASE_OBJ(workbook1);
OLE2.RELEASE_OBJ(workbooks1);
OLE2.INVOKE(application,'QUIT');
OLE2.RELEASE_OBJ(application);
end;
Anyone please help m to solve this...

Similar Messages

  • Excel 2011 Is there a way to set hyperlinks to require CTRL key in Excel 2011

    I am using EXCEL 2011 on Yosemite.  I have a spreadsheet to keep addresses including emails and websites.  I need to update and edit.  overtime i click on a cell, it QUICKLY takes ne to an email or Safari.  I have been used to having to use <CTR> before following a hyperlink.  Can this be set up in a MAC???

    When I do understand your question: just click the hyperlink in Excel 2011 for Mac.

  • Opening Hyperlinks inside Excel WebAccess webpart in the Same Window

    I was trying to access Excel Web parts hyperlink like below, but this solution is not working for me.
    $(document).ready(function() {
    $(".ewr-sheetcontainer a").each(function(){
    $(this).attr("onclick","openLink(this)");
    function openLink(Atagproperties)
    Atagproperties.target = "_self";
    Problem is .ewr-sheetcontainer has role="Presentation" atttribute,
    which says it will delete the contents from accessible tree. 
    Is this the reason it is not working for me? or Am I missing anything?
    Appreciate your help on this. Thanks, Maddy

    Hi,
    According to your description, my understanding is that you want to set the hyperlink in Excel Access Web Part opening in the same window.
    As the excel access web part is dynamic loading after the page load, so when the page has loaded, the excel web part element has not been loaded completely.
    I suggest you can use setInterval method to run function circularly until the excel access web part has loaded in the page.
    Here is a code snippet for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.js" type="text/javascript"></script>
    <script type="text/javascript">
    var $a;
    var interval;
    $(document).ready(function(){
    interval = setInterval(ready, 1000);
    function ready()
    $a = $('div.cv-nwl a');
    if($a.html()!=null)
    $a.attr('target','_self');
    clearInterval(interval);
    </script>
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error message when clicking hyperlink in Excel file

    Hi all,
    I am working on SSRS 2012. In main report having hyperlink. When click this hyperlink in browser (IE 11 or Chrome), it open sub report correctly.
    But once i download the main report to Excel 2013 and click hyperlink, it can't open sub report.
    I am getting following error message in Excel file.
    Unable to open "http://...". Cannot download the information you requested.
    In SSRS 2005, it is working fine.
    How can i fix this issue in SSRS 2012?
    Thanks,
    Raja Shekhar Reddy

    Hi Raja,
    After testing the issue in my environment, I can reproduce the error message in Excel 2013. When the user who have no access to the report, it would display the error message that “Unable to open "http://...". Cannot download the information you requested.”
    when he click the hyperlink in Excel. So we can try to directly type the URL in browser to make sure the users have view permission to the report.
    Reference:
    Tutorial: Setting Permissions in Reporting Services
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • 9.3.4 Update Broke HyperLinks to Excel Spread Sheets located on Same Domain.

    I have created company procedural documents in PDF using Adobe Pro 9.3.3.
    These procedures contain hyperlinks to Excel spreadsheets that are located on an Internal Domain File Server. When I click on the Hyperlink using Adobe Reader 9.3.3, Excel launches and opens the spreadsheet . Adobe Reader or Adobe Pro 9.3.4 won’t open the link. Adobe 9.3.4 pops up a Window saying the spread sheet cannot be found, make sure you type the name correctly so on and so on. I Click OK on the first pop up, a second Adobe Pop-up window opens saying "Could Not Open the file" followed by the correct path to the spread sheet. I just tested it on a computer running Adobe Reader 9.3.3 and the hyperlinks worked fine. I then Upgraded Adobe Reader to 9.3.4, absolutely no other changes, and the hyperlinks no longer work..Same pop up..Cannot find .xls"..."Could not open .xls"..
    Hyperlink syntax being used is \\servername\sharename\folder\spreadsheet.xls . So what setting do I need to chase down in 9.3.4 to correct this? What changed in 9.3.4 from 9.3.3?

    We are experiencing a similar problem with Reader 9.3.4
    We have training products produced in Acrobat 6, as PDFs which have hyperlinks to run Flash movies (SWFs). The products are installed from CD onto users' hard drives.
    The products have worked on hundreds of PCs and Macs, but as each customer updates to Reader 9.3.4 they report failure to open the SWFs.
    The SWFs are organised in a hierarchy of folders depending on exact topic. All the movies are inside a "data" folder, then main topic folders, down to sub-topic folders.
    I have found that the PDF hyperlinks will open a copy of the relevant SWF if it is placed in the same folder as the calling PDF, but not when it is in its rightful position down the path.
    The initial error message shown when files are in their correct folders says e.g.  "Cannot find anchoring_one.swf" suggesting that only the filename is called and not the path. However the second message, displayed when the first is acknowledged, says e.g. "Cannot open data/anchoring/anchoring_one.swf" So the hyperlink IS outputting the full path, but somehow it it is being truncated to file name only.
    Seems that the call is produced from the hyperlink correctly, and registers with the system as full path. Then the call is passed forward to a function which should actually open the file and here loses its path, so file-open fails and returns a "Cannot Find" message. The return code from this function is passed back as a failure, to the prior function which still knows the path. This prior function then issues the "Cannot Open" message, including the full path.
    Is is totally impractical for us to rewrite and re-issue the programs in any other format, or stop thousands of independent customers from upgrading to Reader 9.3.4
    I hope Adobe can fix this issue VERY quickly.
    MartinQ
    NauticalSoftware.com

  • How to keep hyperlink from excel to PDF?

    I have some Hyperlinks in excel, and when i convert to PDF, they dont work.
    I already installed the Adobe Acrobat PRO XI (Trial version)
    How can i do this?
    tks

    Step 1. Install PDF Editor
    1) Download PDF Editor and install this software by double clicking the exe file. During the installation, please follow installation message and choose the right option according to your needs.
    2) Once the installation finishes, there will be an icon on the desktop. Please launch this software by double clicking the icon.
    Step 2. Remove Hyperlinks from PDF
    1) The following snapshot is from the software interface. Please click option Open to add PDF file to software interface. Or you can simply drag PDF file to software interface.
    2) Please find option Edit Link then click it. The mouse will turn to cross. Please drag area around the picture which will lead you to website.
    3) Then there will be red rectangle frame around it. Right click the red frame and choose Property in the dropdown list. Then you will see the dialogue box like I showed in the left named Link Properties. Here you can set link actions, like open a page in a document, open a file or open a website file. Those options are useful when you need to add hyperlinks. Meanwhile it is helpful when you need to remove hyperlinks.
    4) If there is link on the image, the link will be shown on the Property tab. Please simply remove it here and then click button OK to back to the main interface.
    5) By this way, the link will be removed successfully.

  • Setting Hyperlinks in PDF Portfolio

    Hi all,
    I have the following question concering Acrobat Portfolios in Verion X on Windows:
    The Portfolio is used for large summaries with lots of documents and folders. I need to set hyperlinks from one document to another, which basically works, but I cannot set the hyperlink to a document in a different folder structure inside the Portfolio.
    Am I missing something or does it not work.
    Thanks for replies in advance
    mannikaltz

    Moving PDFs to a portfolio changes the directory structure between the PDFs, so you have to manually edit all of the links between the files within the portfolio.

  • Hyperlinks from Excel 2010 to external programm

    Hello!
    I have Microsoft Office 2010.
    I am interested in addition hyperlinks to pivot table in Excel, which can mouve to the external web application (Global Specification System - the system of documentation management).
    1. How can I add hyperlinks to pivot table?
    2. When I add hyperlink to ordinary Excel table (to the certain document), the hyperlink mouves me not to the certain document, but to the start page.
    Please let me know if you have any ideas how to realize this.

    We cannot add hyperlinks to pivot Table directly, but we can use some VBA code to create fake hyperlinks in a pivot table,refer to the link below to learn how to get it work:
    http://www.pivot-table.com/2013/11/06/create-fake-hyperlinks-in-excel-pivot-table/
    On your second question, if your hyperlink works fine in browser, please see :
    http://social.technet.microsoft.com/Forums/en-US/512fd9c4-1880-4db7-9959-97510bdd91d1/hyperlink-question?forum=excel
    Please let me know if I misunderstood you.

  • Open data set for reading excel file on application server in back ground

    open data set for reading excel file on application server in back ground

    hi Vijay,
    I am afraid you won't be able to read from Excel file on Appl. Server.
    ec

  • Hyperlink in Excel cell

    Is it possible to write hyperlink in each cell of Excel (report 6 and/or 10) in a way to run hyperlink after run report with one mouse click on the cell (active hyperlink) when excel is displayed.
    I was trying with this example below but without succes beside this I can not find any solution on metalink:
    Re: Hyperlink Related Issue
    function F_enameFormatTrigger return boolean is
    begin
    if :ename = 'SMITH' then
    srw.set_hyperlink('http://www.smith.com');
    elsif :ename = 'JONES' then
    srw.set_hyperlink('http://www.jones.com');
    end if;
    return (TRUE);
    end;

    nagornyi, that is the problem, because I must type Enter if I want to make hyperlink active! So it is not enought just writing tekst but type Enter as well. Try to do this and tell me if I'm wrong.

  • Security Setting in Microsoft Excel Prohbit XL Report From Running

    Dear Expert,
    When I run XL Report following  error message display
    Security Setting in Microsoft Excel Prohbit XL Report From Running
    On  server Excel 2003 is installed and its working ,
    But  client  PC Excel 2007 is installed and when run xl addon above error display...
    all the micro setting and trust center setting  is done.
    Pls help me.......
    Thanks
    Ashish Nandgaonkar

    Dear Ashish Nandgaonkar,
    You may check this thread first:
    XL reporter issue in SAP Business one 2007 B patch 15
    Thanks,
    Gordon

  • Create Hyperlink in Excel

    Hi all,
    I looked through the excel examples that ship with labview. I found out how to get data into excel cells and read from them. But I still look out how to create a hyperlink that is connected to a text in an excel cell. I think this could be done without using the report generation toolkit, that I don't have.
    Best Regards,
    Toni

    Hi All,
    here is the solution for it.
    i am able to put a hyperlink into excel now.
    Hope this helps you. 
    Regards,
    Dev
    CLD Certified Engineer
    Attachments:
    Hyperlink.JPG ‏47 KB

  • Using Apache POI 3.2 to create hyperlinks in Excel

    Hello,
    I am new to Java.
    I have written a program that accesses Excel with the Apache POI version 3.2.
    All seems to work until I tried to insert a Hyperlink to a file on the local drive.
    I followed the quick start guide from Apache POI.
    It provides the following code but Java does not appear to find the "createHelper".
    //link to a file in the current directory
    cell = sheet.createRow(1).createCell((short)0);
    cell.setCellValue("File Link");
    link = createHelper.createHyperlink(Hyperlink.LINK_FILE);
    link.setAddress("link1.xls");
    cell.setHyperlink(link);
    cell.setCellStyle(hlink_style);
    Any ideas on how to insert a Hyperlink into Excel would be appreciated.
    Thanks
    Chris

    This seems to be a class in 3.5 beta jar file. Try downloading and using the 3.5 beta

  • Hyperlinks in excel don't allow user to save file in adobe reader

    I created a fillable form for users who have adobe reader. Form works. Users can fill the form in and save it (with same name). When users try to access this same form thru a hyperlink in excel, they are not allowed to save the filled in form using the same name. Can this be corrected?

    Hello,
    Adobe Acrobat is used to design and edit forms, while Adobe Reader is only for reading.
    Once you reader extend any form, actually you enable some usage rights on that particular form and once you open that form in Reader, you will be able to perform the action that you have enabled.
    So the first thing is the end user must have Reader not Acrobat, otherwise no use of reader extending the form.
    Now to your question..
    If you design form in LiveCycle designer, you can use validate element to prevent save, put this in XML source like below.
    <config>
       <present>
          <validate>preSave</validate>
       </present>
    </config>
    If you are designing form in Acrobat itself, you can use script to disable menu items.
    For details please look in this blog.
    http://blogs.adobe.com/dmcmahon/2009/11/11/adobe-reader-how-to-disable-toolbar-buttons-and -menu-items/
    -Vijay

  • Possible to create a hyperlink in excel to a bookmark in a PDF?

    My boss would like to be able to click on a hyperlink in excel, and it would take him directly to a bookmarked item in a PDF.  After searching I've come up empty handed.  Is this even possible?  He swears he's seen it done before, but then again, he's been wrong in the past - so who knows.
    Any help is appreciated!

    No, it's not possible.

Maybe you are looking for

  • Unable to add certain songs to iTunes--strange glitch

    (x-posted in ipod touch forums) Hello. I have an iPod touch 2g, 8gb on itunes 8, windows Vista 32-bit. For some reason, certain songs will not add into the itunes library to be transferred onto the ipod. For example, I have a few Jack Johnson songs.

  • LCD Failure - external screen

    Good day I purchased a 17" powerbook September last year. The LVD screen has failed and I cannot now afford to get it replaced. When I took it in to be checked, we could use an external screen and everything worked OK. After it had been checked by an

  • G/L Account for document

    Hi all. I have a question. Is there any posibility of change the G/L Account just for one document (A/P Invoice) in the creation time via SDK? Thanks

  • Warning message as amandatory

    Hi  , In sales order if we enter wrong WBS  element it shows warning message as wrong wbs element and error message number is Z1000 ,I want to mak ethis warning message as error message ........

  • Movie Purchased From iTunes Store Will Not Sync

    I purchased Cars from the iTues Store on Feb 4th in preperation for the TV release. I just hooked up my new TV yesterday and was sadly disapointed that cars will not sync to the TV. I get an error message that reads, "Cars cannot be coppied to App