Merge column in Excel

I want to merge excel column from 12:15 of row 1 osing OLE2, how can I do it ?
Using oracle forms 10.1.20.2
Thanks.

Double posting {thread:id=2448884}

Similar Messages

  • Filter Data with Merged and non merged columns in one

    Hi there,
    I have an excel spreadsheet that has got merged and non merged columns. What I want to be able to do is, filter a row that has got merged column and non merged columns. But when I filter it only takes the first line, rather than the merged and non merged
    columns.
    With this data I have one merged column which spans 6 rows, and then in the same row I have 6 rows with different points in, and what I want to do is filter my list, but be able to see the merged coloum aswell as the 6 points.
    Any ideas are much appriciated.
    Cheers
    SAN

    You cannot filter across a row - so I have assumed that what you mean is that some cells in columns are merged to serve as the headers, and the data is in the came columns but in the row(s) below the header. If this is incorrect, ignore this post.
    For this example, I have assumed E to J are the column of data and merged cells, column K is free, and the first merged header is in row 1:
    In K1, enter
    =E1
    in K2, enter
    =IF(COUNTA(E2:J2)=1,E2,K1)
    and copy down. Then filter based on column K, and it will show the headers and the data for the selected header value.
    HTH, Bernie

  • Filtering merged and non merged columns

    Hi there,
    I have an excel spreadsheet that has both merged and non merged columns. I want to filter a row that has got merged column and non merged columns. But when I filter it only takes the first line, rather than the merged and non merged columns.
    Any ideas are appriciated.
    Thanks

    As you have found, (vertical) merging and filtering do not go together. The value of a merged area only "lives" in the top left cell of the area, the other cells are blank.
    I would unmerge the cells and fill the values down into the blank cells. You should then be able to filter normally.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Dynamically Merging Columns in a table

    Hello All,
    Is it possible to merge columns in table based on some set of condition.
    The current output is as follows:
    Column 1 Column 2 Column 3 Column 4 Column 5
    Row1            ""               ""              ""                 ""
    SubRow1      ""               ""              ""                 ""
    Value 1       Value 2      Value 3     Value 4         Value 5
    The output which we need is as follows:
    Column 1 Column 2 Column 3 Column 4 Column 5
    Merged Row 1 (merged columns)
    Sub Row 1 (merged columns)
    Value 1 Value 2 Value 3 Value 4 Value 5
    Merged Row 2 (merged columns)
    Sub Row 2 (merged columns)
    Value 1 Value 2 Value 3 Value 4 Value 5
    Merged Row 3 (merged columns)
    Sub Row 3 (merged columns)
    Value 1 Value 2 Value 3 Value 4 Value 5
    Thanks.
    Kiran

    The merge is simple if you do not think about it as in word:))
    The merge can be done using scripting: just concatenate the values of the fields into one variable, fill in the value to the first column, change its width (to the width of the previous 4 cols) and hide te remaining/ blank cols.
    Have fun, Otto

  • Is it technically possible to merge columns on the fly?

    I want to merge two columns only when null AND display data from a separate column in that newly merged column. Is this technically possible?

    Possible :)
    Drop me the requirement/template/xml to my id in profile.

  • Make few columns of Excel file read only when downloaded

    Hi Experts,
    Is there any way we can set few of the columns in excel sheet as read only when downloaded from SAP.
    We have requirement where a program will generate a report and download it into an excel file on desktop.  When the file is downloaded, two of its columns should be non editable.
    I know complete sheet of excel can be protected using OLE, can we protect few columns also using OLE?
    any idea how can it be done?

    Hi Swapnil,
    check this
    Re: OLE EXCEL : how to block cells ?
    hope it is useful to you.
    Thanks

  • How to get Number of Column in Excel file

    Hi All,
                   My requirment is to get Number of Column in Excel file which i want to upload,
      so please suggest if there is any possible way to get this functionality.
    Thanks
    Anirudh

    Use FM "ALSM_EXCEL_TO_INTERNAL_TABLE".
    Adjust the values of i_begin_col & i_end_col parameters in this FM.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                      =
          I_BEGIN_COL                   =
          I_BEGIN_ROW                   =
          I_END_COL                     =
          I_END_ROW                     =
        TABLES
          INTERN                        =
      EXCEPTIONS
        INCONSISTENT_PARAMETERS       = 1
        UPLOAD_OLE                    = 2
        OTHERS                        = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards,
    BBR.

  • Acrobat 9 - we are unable to merge word and excel files into a pdf.

    Acrobat 9 - we are unable to merge word and excel files into
    a pdf. Any advice?

    To be expected if you are working in a contemporary OS and contemporary MS Office suite.
    The Acrobat 9.x product family passed into End of Support mid-year of 2013.
    The product isn't compatible with contemporary OSs or Office suite.
    You may have to step up into the Acrobat XI product family.
    Be well...

  • Alignment of Columns in Excel when sent as an attachement

    Hi,
    I am using below code to send the output of ALV via email as an attachment.
    data : lv_variant type sy-slset value 'VARIANT',
             lt_list   type table of abaplist,
             lt_0167_body type standard table of soli,
             ls_body_raw type soli,
             lt_txt type soli_tab.
    data:   ls_string type text2048,
              lt_objbin type soli_tab,"Attachment of EMail
              lt_objbinx type solix_tab,"Attachment of EMail
              lv_dlist type so_obj_nam,
              lv_bdate type char10,
              lv_edate type char10,
              lv_title type char40.
    submit ztest using selection-set lv_variant exporting list to memory and return.
    call function 'LIST_FROM_MEMORY'
      tables
        listobject = lt_list "Binary data
      exceptions
        not_found  = 1.
    call function 'LIST_TO_TXT'
      tables
        listtxt            = lt_txt
        listobject         = lt_list
      exceptions
        empty_list         = 1
        list_index_invalid = 2
        others             = 3.
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    move 'test' to ls_body_raw.
    append ls_body_raw to lt_0167_body.
    lt_0167_body[] = lt_0167_body[].
    data :
        l_hex type solix,
        conv type ref to cl_abap_conv_out_ce,
        l_buffer type xstring,
        l_hexa(510) type x.
      loop at lt_txt   into ls_string.
        conv = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' endian = 'B').
        call method conv->write( data = ls_string ).
        l_buffer = conv->get_buffer( ).
        move l_buffer to l_hexa.
        move l_hexa to l_hex-line.
        append l_hex to lt_objbinx.
      endloop.
    call method ztest=>send_mail
      exporting
        it_errormessages     = lt_0167_body
        iv_type              = 'RAW'
        iv_dist_list         = 'DLIST' "distribution list
        iv_subject           =  'test'
        lv_attachment_type   = 'XLS'
        lv_attachment        = lt_objbinx
        lv_attachment_name   = 'Test'
      exceptions
        bcs_fault            = 1
        tvarv_not_maintained = 2
        others               = 3
    here my custom method send_mail is working properly it is sending whatever is coming in lt_objbinx as  excel, only problem in the excel columns and column values are not aligned properly.
    please suggest how can i align columns inside excel using abap code, send mail is actaully using cl_bcs and related classes for sending e-mail.
    Thanks,
    kranthi.

    Hi change the below sample as per your requirement.
    <unreadable code removed by moderator>
    Regards
    chitra
    Moderator message: please post only relevant code parts, your posts must contain less than 5000 characters to preserve readable formatting.
    Edited by: Thomas Zloch on Nov 15, 2011 1:03 PM

  • Matrix report data with summary column in excel format

    Hi ,
    I want to display output of matrix report with summary column in excel format.
    I have tried using spreadsheet but column header and actual data is displaying in proper order.
    Please tell me the way how to do this ASAP.
    Thanks in advance.

    Hi ,
    I want to display output of matrix report with summary column in excel format.
    I have tried using spreadsheet but column header and actual data is displaying in proper order.
    Please tell me the way how to do this ASAP.
    Thanks in advance.

  • How to merge cells in excel using X++ in AX 2009

     Hi all,
     How to merge cells in excel using X++ in AX 2009?
     for example i have 3 cells (A3:C3) i need to merge this 3 cells using X++
    can any one sujjest please
    Thanks in advance

    Hi,
    WinForm technology does not support X++ related cases.
    I just checked this link
    http://msdn.microsoft.com/en-us/library/aa867122.aspx and haven't found a related forum.
    I'll move your case to where is the forum for so that you may get some help about this.
    Regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Auto fit columns in excel using open xml

    I have generate excel using open xml and it contain auto fit property for columns. my problem is that the excel is opening very well in kingsoft spreadsheets
    and other tools, but not opening in microsoft excel 2013 and older version. Is there any solution for auto fit columns in excel using open xml and should open in Microsoft excel  all version

    Hi Raj12345,
    >> I have generate excel using open xml and it contain auto fit property for columns. my problem is that the excel is opening very well in kingsoft spreadsheets and other tools, but not opening in microsoft excel 2013 and older version
    I assume you was using OpenXML SDK and I'm afraid we are not able to find the root cause according to your description, would you mind sharing us some code sample to reproduce this issue.
    >> Is there any solution for auto fit columns in excel using open xml and should open in Microsoft excel  all version
    As far as I know, there is no auto fit property for columns in excel with openxml. I am afraid that you need to calculate the column width depending on the cell contents, and then set the column width. The link below shows more details:
    # Solution: How to AutoFit Excel Content
    https://social.msdn.microsoft.com/Forums/office/en-US/28aae308-55cb-479f-9b58-d1797ed46a73/solution-how-to-autofit-excel-content?forum=oxmlsdk
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How to put 2nd column into 1st column in excel

    Hello,
    I have a question how to put 2nd column into 1st column in excel. Thank you.
    Solved!
    Go to Solution.

    Why the 1 iteration for loops?
    Why the two Index Arrays?  It is just trying to fix the problem created by the For Loops on the original 1-D arrays.
    Both of those things are creating 2-D arrays that are complicating things and can be eliminated.
    You can take your 2 1-D arrays, use Build Array and right click to set "Concatenate Inputs".
    If you do have a 2-D array, you can use Reshape Array to make it a 1 column by N row 2-D array.

  • TableSorter over more than one columns like Excel

    Hi Experts,
    do you have a example for TableSorter over more than one columns like Excel?
    Thank you very much.
    regards
    Steffen

    Hey,
    Please download the application mentioned in it.
    When i have excuted the application i could find sort enabled for all the columns.
    wdContext.currentContextElement().getTableSorter().sort( wdEvent, wdContext.nodeTableSet() );
    Please check it..
    Jithin
    Edited by: jithin james on Apr 16, 2009 10:47 AM

  • Merging Columns In ALV

    Hi
    My requitrement is that i want to merge Columns (not Rows) in my ALV layout.
    the condition is that i have to merge columns of only 1 row of my layout.
    Cell_Merge will Merge Rows but how can i merge columns
    suitable points will be awarded.
    with regards
    Rakshan

    Hi rakshan,
    could you give some kind of example?
    ALV does not allow to change the structure of the table displayed. If your goal is to put the contents of more than one column into one column, you need a destination column.
    I could imagine to concatenate all columns into a string:
    FORM MERGE_CELLS using ps_itab type any changing pv_string type string.
    data:
      lv_tmp(100) type c,
      lv_string type string.
    field-symbols: <f> type any.
    do.
      assign component sy-index of ps_itab to <f>.
      if sy-subrc <> 0.
      exit.
      endif.
      write <f> to lv_tmp left-justified.
      concatenate lv_string lv_tmp into lv_string separated by space.
    enddo.
    pv_string = lv_string.
    endform.
    Note: ABAP does not allow (yet) the use of write to <string variable>, that's why we use a temporary CHAR field.
    Regards,
    Clemens

Maybe you are looking for

  • Need some help in after effects cs5

    hello i have a problem in after effets cs5 whit this green cross over the vid andits stays like that even when i render it . can some on help me fix this?

  • Starting WebLogic server from concole

    When I start WebLogic server using startweblogic.cmd everything seems to be okay. Using the 'Start a new WebLogic server or cluster' command from WebLogic Console 5.1.0, I get the following error message: Attempting to start server on the machine run

  • Write Integer to file

    Stuck. I've got six integers and I need them to be written to file, each with a new line and for them to overwrite the digits currently held on file. Help appreciated.

  • Product catalog call structure config

    For each catalog there is a call structure defined in SAP SRM , My question is i have a Product catalog created in system with Logical system as XYZ SAPR/3 ( this is under subscreen techinical settings) ... after some days some budy changed it with d

  • Wired terminal in Sub Diagram - VI Analyzer

    When I run the VI Analyzer I get the following results Wired termianl in sub diagram- The control terminal "Log File Path" does not reside on the top-level diagram.   In order to avoid unnecessary memory copies, control and indicator terminals that a