How to enable hyperlink for a cell in excel thru OLE?

Hi,
Iam using OLE2 to download data from an internal table into excel sheet.I want to enable hyperlink for one cell in each line of the excel. Please advice how to go abt it?
Regards,
Shambu

To hyperlink to the specific sheet in your workbook, you need to first create the sheet and use the parameter #3 of the Hyperlink's ADD method.
Try like this:
*.....Hyperlink to another sheet
  GET PROPERTY OF e_appl 'Range' = e_range
    exporting
    #1 = 'A1'
    #2 = 'A1'.
  GET PROPERTY OF e_activesheet 'Hyperlinks' = e_hyperlink.
  get property of e_work 'Sheets' = e_sheets.
  CALL METHOD OF e_sheets 'Add' = e_work2.
  CALL METHOD OF e_hyperlink 'Add'
    EXPORTING
    #1 = e_range
    #2 = ''
    #3 = 'Sheet2!A1'.   "Targeted Sheet & Cell
*.....Hyperlink to another sheet
Regards,
Naimesh Patel

Similar Messages

  • How to provide hyperlink for a particular field in ALV

    Hi,
      How to provide hyperlink for a particular field in alv report.
    Regards,
    Ramu.

    Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
    wa_field-hotspot = 'X'.
    REPORT  ztest_alv.
    TYPE-POOLS:slis.
    DATA:it_fieldcat  TYPE  slis_t_fieldcat_alv,
         wa_field LIKE LINE OF it_fieldcat.
    DATA: BEGIN OF it_likp OCCURS 0,
           vbeln TYPE likp-vbeln,
          END OF it_likp.
    DATA: layout TYPE slis_layout_alv.
    wa_field-fieldname = 'VBELN'.
    wa_field-tabname = 'IT_LIKP'.
    wa_field-hotspot = 'X'.
    wa_field-outputlen = 10.
    wa_field-no_zero = 'X'.
    wa_field-seltext_l = 'Sales'.
    APPEND wa_field TO it_fieldcat.
    SELECT vbeln FROM likp
    UP TO 10 ROWS
    INTO TABLE it_likp.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_likp
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_Command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          SET PARAMETER ID 'VL'  FIELD selfield-value.
          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "user_Command

  • How to enable GUI for a Cisco 1841?

    How to enable GUI for a Cisco 1841?

    Hi,
    install SDM or CCP on your PC then on the router :
    en
    conf t
    ip dhcp excluded-address 192.168.1.254
    ip dhcp pool MYPOOL
    network 192.168.1.0 255.255.255.0
    default-router 192.168.1.254
    ip http server
    ip http authentication local
    username xxx privilege 15 secret   xxxx
    int f0/0
    ip address 192.168.1.254 255.255.255.0
    no shutdown
    Regards.
    Alain.

  • How to enable SSL for policy service?

    Hi all,
    My application is using SunONE's C API to communicate with the Identity Server.
    In order to enable SSL, I have changed the following lines in amconfig.properties:
    com.sun.am.namingURL = https://id01.core.development.net:443/amserver/namingservice
    com.sun.am.policy.am.loginURL = https://id01.core.development.net:443/amserver/UI/Login
    com.sun.am.policy.am.library.loginURL = https://id01.core.development.net:443/amserver/UI/Login
    After operating these changes, everything continued to work fine...but then, I checked with a network sniffer what data is being sent to IS:
    - The login and naming data were over SSL
    - Policy and session items were plain HTTP
    My questions are:
    1. How to enable SSL for policy evaluation requests?
    2. How to enable SSL for sessionservice requests?
    3. What are the changes required on the server/client?
    Many thanks,
    Dan

    There might a better different forum for this question.

  • How to enable logging for the Web Proxy

    Hi,
    Does anyone know how to enable logging for the Web Proxy feature under "Web" in Server Admin?

    Aren't the web proxy hits logged in the standard apache logs? /var/log/httpd/access_log

  • How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA

    Hi All,
    Please let me know "How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA"
    Regards,
    Ganga.

    Hi ,
    pl go through this note "Integrating a virus scan into SAP applications 817623 "
    SAP Virus Scan Interface
    http://help.sap.com/saphelp_nw2004s/helpdata/en/30/42c13a38b44d5e8d1b140794e8e850/frameset.htm
    Sample Application
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6e1c4221-0901-0010-63ba-b1f9459d6e74
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2681486-0a01-0010-8497-c778eac80da5
    Regards
    Ayyappparaj

  • How to enable logging for mail.app in Mountain Lion

    I am at my wits end trying to figure this out....
    Does anyone have a clue how to enable the logging for mail.app under Mountain Lion?
    In the past, you could open up Console and click on Console.log and see the logging of mail. Under mountain Lion, there is no more console.log. I cannot figure out how to enable it.
    I have tried to run the AppleScript of "Turn On Logging" but the script errors out under Mountain Lion.
    Does anyone know how to do this or a better way, maybe a tool or something that can help you troubleshoot mail.app issues?
    Thanks in advanced

    Hello,
    I have a similar problem. The script "Turn on Logging.scpt" runs without error, but I do not see any socket logging. I only get two messages, which I also get when I start mail without the script by just clicking the mail.app icon in the dock. The Messages are:
    1/10/13 3:43:32.618 PM Mail[11276]: Using V2 Layout
    1/10/13 3:43:36.388 PM Mail[11276]: *** -[IADomainCache init]: IA domains cache is out of date.
    Any help would be appreciated

  • How to enable history for settypes?

    Hi,
    We are using few custom settypes in our project and want to track any changes made to their attributes.
    I can see two tables created for each settype, one of which ends with 'H', which is a history table.
    But this table is always blank, even if i make any changes to the settype attributes. How can I enable history for settypes? Any idea?
    Regards,
    Vikrant.

    there is one xml or .dat file which your Basis team would be having, which need to be placed in the directory where your GUI is installed... without which nothing can be done after these many trials on options provided.
    some ppl know it as sticky memory too... search for OSS or in sap support..
    Re: History gets disbaled with SAP GUI 7.10 Patch 11
    Edited by: Jay Sadaram on Dec 4, 2009 1:59 AM

  • How to enable DFF for a particular country on a Standard OA Framework page

    Hi All,
    I have a requirement for iExpense. Here I need to enable a DFF and that should be display only for a particular country say 'India'. I have done this for the core apps forms but for OA Framework pages I am not sure.
    In core apps we have used context senstive rather than Global.
    Could you please help me on this that how can I enable DFF for a particular country.
    Thanks,
    Sam

    hi
    i think u r talking about Domestic and Recoverability DFF,u need to find out the id of those LOV fields ,u can find them going in view source ,right click go to view source and search the fields against the prompt appearing against these LOV like (Recoverability) u will get the id of this field ,then extend your CO and hide this field in processRequest method of extendedCO according to your org id .
    thanx
    Pratap

  • How to enable "Check For Updates" ??

    how can I to enable "Check For Updates" in the Help menu ??

    There is an outside chance you can download the updates and install them, but in the case you have that probably would not work. Are you logged in as an administrator?

  • How to enable cookies for a single web page or site?

    How do I enable cookies for just one site or web page, without enabling cookies for ever site?

    They should be enabled out-of-the-box, but it's worth checking.
    Gingerbread: Menu > More > Settings > "Privacy & Security" section
    On newer versions of Android, the menu may be organized differently, but hopefully you can still find Settings.

  • How to enable https for a single webapp in tomcat 5.5 ?

    Hi ,
    I want to enable https for my web app in Tomcat 5.5(with JDK 1.5, in WinXP) without affecting other webapps running in the same server . Any idea how to do it ? Pl. note , I dont want to make the entire tomcat as SSL enabled.
    Regards
    Diana

    You specify SSL in web.xml of your application. So, in that case other web applications in same server would not be affected.
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>myresources</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>Following link will help you to setup SSL in tomcat:
    [http://techtracer.com/2007/09/12/setting-up-ssl-on-tomcat-in-3-easy-steps/|http://techtracer.com/2007/09/12/setting-up-ssl-on-tomcat-in-3-easy-steps/]
    Thanks,
    Mrityunjoy

  • How to enable chekbox for cookies

    HI,
    I want to enable end user to clear cookies from IE. At present this option is grayed out. How to enable this using GPMC?
    Regards,
    Ram Kudva P 

    Its for Windows 2008 R2. Do you have any sample script ?
    I have checked the option in user settings , but no luck. All options like clear history, clear data are enable except cookies. 

  • How to Enable Alerts for Column Chart

    Hi,
    I am new to Xcelsius. I have a column Chart with some data, I want to create alerts for that chart but Enable Alerts option is disabled. My question here is Will this option disabled for Column Chart, if not please tell me how to enable this option.
    Your reply is always appreciated.
    Regards,
    Naresh

    Hi,
    By default Enable Alert option is un ticked check box, if you try to bring new colum chart and see if that enable or not.
    If you get enabled Alert option in new one then delete old one and use new one.

  • How to enable AHCI for HP ENVY TouchSmart m6-k015dx Sleekbook

    Hello,
    I upgraded my hard drive to a SSD and that is done. Laptop works fine.  Installed the Samsung SSD software and it says I need to Enable AHCI to get the SSD running at full potential.
    I searched the BIOS and do not see anyplace to change this.  I then went to the Device Manager in Windows 8.1and I do not see any ATA/SATA controller.  All I see is a RAID controller. RAID controller in a laptop? 
    Can someone tell me how to enable the AHCI?
    Thank you.
    This question was solved.
    View Solution.

    Hi:
    Because your notebook is a consumer notebook there is no way to change the BIOS setting to AHCI.
    The BIOS is defaulted to RAID on your model series because some models come with one of those hybid drives with a SSD cache and for some technical reason those have to be configured in RAID 0 mode in order for the setup to work right.
    It is my understanding that if you install the latest Intel RST driver, that is supposed to provide TRIM support for SSD's starting with the Intel Series 7 chipset, and yours has the series 8, so it should have full support for using an SSD even in RAID mode.

Maybe you are looking for

  • CP8 - How to embed a pdf into a captivate slide (for LMS publication)?

    Hi, How to embed a pdf into a captivate slide (for LMS publication)? WebObject doesn't work... Thanks

  • How to highlight only one column

    I am trying to highlight and copy one column but the one next to it is also highlighted.  Help!!

  • Exporting to Poor Quality in CC

    I've only just ran into this problem starting last night. I record videos from my desktop through Fraps - both gaming and online software tutorials. I record in Fraps with the following settings: Video Capture: 29.97 Loop Buffer: 30 seconds Locked fr

  • Customize a control and property nodes

    I don't know if and how it is possible. Is it possible to customize a control, but having access to property nodes too?  I explain better: if I create a control and I customize it, the customized control is a file.ctl, which has only front panel, but

  • BB 8520 @ MTN - BB APP WORLD DISAPPEARED.

    I have upgraded BB8520 TO V.5 AND.... the BB App World and the n Browser has disappeared.I decided to RESET the BB and reinstall The BB HANDHELD SOFTWARE onto my Phone via the DESKTOP Software. I have even downgraded the OS to version:4.6 and same.On