Checkbox in the name colum..

Why do all, or 99% of all my songs uncheck themselves. I own the cd's. Is there something that I need to do to change this or is this normal.
Thanks in advance

Do Command/Click on a box and all boxes will be checked or unchecked, depending on the state of the one box you click on. You can also select several-or all-songs, right click and choose Check Selection or Uncheck Selection.
I don't know why your songs are getting un-checked but it's easy to select them all again.
Tracy

Similar Messages

  • What is the checkbox for in the name field?

    what does the checkbox in the name field do? i have audiobooks that i have already listened to and want them off my ipod (but still on the pc). there does not seem to be a way to have it not sync them like you can with a video already watched (ie: tv shows). when you uncheck the checkbox it just shows on the ipod with the checkbox unchecked as well.

    In iPod preferences there is a checkbox option to not sync unchecked items. When used this option can be used for keeping tracks from syncing to iPod.
    Another function of the checkbox in track name is an unchecked track will be skippind in iTunes when playing. It can still be played when selected individually though.

  • Checkboxes:check the dish in one table-it checks off ingredients in another

    If you select a dish from a table of recipes (via checkbox) can you make it select all the ingredients for that dish from another table, your master ingredients list?
    I think it has to do with Boolean true/false, but checkboxes seems weird to me...they dont act like normal formula cells.....
    This would be really helpful for shopping/meal planning.........thanks

    Create a new table .
    In cell A1 grab the name of the selected dish
    In column B insert formulas grabbing the required ingredients.
    These formula would use the function VLOOKUP to extract the ingredients required for the dish whose name is in $A$1.
    I'm not sure that checkboxes are the good tool to select the dish because it's easy to have several boxes checked in a single column.
    I feel that using a popup menu would be a better soluce.
    If you really want to use checkboxes, it would be good practice to create a table with a single cell containing a formula displaying an alert if more than one box is checked.
    Yvan KOENIG (VALLAURIS, France) vendredi 5 mars 2010 22:02:42

  • Problem with checkbox in the selection screen

    Hi guys,
    I have a problem with the check box in the selection screen.When i select a check box then a field in the selection screen should be enabled for entering a value.Again if i unselect the checkbox then the field should be disabled for entering a value.I have written the code in at selection-screen output.
    The problem is when i select the check box ,the field is not enabled.But when i press enter after selecting the checkbox then the field is enabled for input.It is the same when i unselect the checkbox,after i press enter only the field is getting disabled.What could be the problem.Any suggestions please?
    Thanks.

    Hi d p
                 Please try this code . I think this code have some way that you would like.
    REPORT  zdownload_to_application_server.
    TABLES : caufvd, jest.
    I N C L U D E  P R O G R A M                                        *
    *INCLUDE znrpstnd.
    Selection Screen                                                    *
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
    PARAMETERS: p_outb RADIOBUTTON GROUP g1 USER-COMMAND outb DEFAULT 'X' ,
                p_inb RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK b3.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    PARAMETERS : p_werks LIKE caufvd-werks MODIF ID a.        " Plant   "OBLIGATORY
    SELECT-OPTIONS  :  s_auart FOR caufvd-auart MODIF ID a,       " Order Type
                       s_aufnr FOR caufvd-aufnr MODIF ID a.       " Order number
    PARAMETERS: p_path TYPE string DEFAULT 'C:\SchedulerInterface-OutboundTextFile\' MODIF ID a,
                p_actual AS CHECKBOX MODIF ID a.                  " Transfer Actual
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
    PARAMETERS : p_werks2 LIKE caufvd-werks MODIF ID b,   " Plant   "OBLIGATORY
                 p_path2 TYPE string DEFAULT 'C:\SchedulerInterface-InboundTextFile\' MODIF ID b,
                 p_path3 TYPE string DEFAULT 'C:\SchedulerInterface-InboundTextFile\' MODIF ID b,
                 p_sessio TYPE apqi-groupid MODIF ID b.   " BDC Session
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN OUTPUT.
      IF p_outb EQ 'X'.   " Outbound --> Hide inbound
        LOOP AT SCREEN.
          "IF screen-name = '%BT02011_BLOCK_1000'.
          IF screen-group2 = 'BLK'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'A'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'B'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          "IF screen-name = '%BT01004_BLOCK_1000'.
          IF screen-group3 = 'BLK'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'A'.
            screen-active = 0.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'B'.
            screen-active = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path2.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_path         = 'C:\SchedulerInterface-InboundTextFile\'
          mask             = ',Text Files,.txt,All files,.*.'
        IMPORTING
          filename         = p_path2
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path3.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_path         = 'C:\SchedulerInterface-InboundTextFile\'
          mask             = ',Text Files,.txt,All files,.*.'
        IMPORTING
          filename         = p_path3
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
    TOP-OF-PAGE.
    START-OF-SELECTION.
    Regards
    Wiboon

  • Can I make a checkbox populate the current date?

    I've been asked to make a form that has quite a few checkboxes.  These checkboxes also need to be marked with a date when checked off.
    Rather than have the person filling out the form type the date every time they check the box, they request that when the user clicks the checkbox that a current date show next to the checkbox.
    I don't know if this can be done with a current date stamp or with having a text box that populates with the current date, etc.
    The forms are also going to be used throughout multiple days, so I can't just call on a "current date" and show/hide that text box like I had originally thought to do.
    I'm also really green to scripting so any help or guidance in the right direction would be much appreciated.
    Thank you.

    The following Mouse Up script for a check box will set the associated text field to the current data when it's selected, and blank the field when not:
    // Mouse Up script for check box
    (function () {
        // Get a reference to the text field
        var f = getField("text1");
        // Set the value of the text field
        if (event.target.value !== "Off") {
            f.value = util.printd("mm/dd/yyyy", new Date());
        } else {
            f.value = "";
    Replace "text1" with the name of the associated text field.

  • How to get the name of correlation item in OM through event processing scripts?

    I am trying to write a groovy script in OM event processing scripts, I want that script to read the event correlation and set custom attributes accordingly. I am unable to read the correlation item. Please guide me how to get it? What method should I use to get the correlation item? I am using OPR library.

    Hi there,
    the name property would be the correct attribute to get the subform name, just by looking at the code it doesn't seem like it's doing the right thing
    I am assuming that you send Main in the function countChk() which would look something like this
    countChk(Main);
    And you probably want to make sure you are entering the right subform so you need to keep that loop at the end of the function
    but if you want to get through all the checkboxes inside that subform you must do a loop through that node to find each checkbox
    I am assuming that the function would probably look something like this
    function countChk(vNode) {//Starts vNode with Main
         for (var i = 0; i < vNode.nodes.length; i++) {
              if (vNode.nodes.item(i).className === "field") {
                   if (vNode.ui.oneOfChild.className === "checkButton") {
                        if (vNode.items.nodes.length > 1) {
                             if (vNode.value.oneOfChild.value == 1) {
                                  nChk++ ;
              }else if (vNode.nodes.item(i).className === "subform"){
                   if (vNode.nodes.item(i).name === "Door_Subform"){
                        countChk(vNode.nodes.item(i));
         }//endloop
    Hope this help!

  • How to get the name of the subform

    Hi All,
    My form is designed in the below structure.
    masgterpage-->form1-->table
                                  -->subform
    How can i get the name of the subform dynamically(as it varies from page to page, but the rest of the structure is same).
    Please help me.
    Thank you,
    Saravanakumar.

    Hi there,
    the name property would be the correct attribute to get the subform name, just by looking at the code it doesn't seem like it's doing the right thing
    I am assuming that you send Main in the function countChk() which would look something like this
    countChk(Main);
    And you probably want to make sure you are entering the right subform so you need to keep that loop at the end of the function
    but if you want to get through all the checkboxes inside that subform you must do a loop through that node to find each checkbox
    I am assuming that the function would probably look something like this
    function countChk(vNode) {//Starts vNode with Main
         for (var i = 0; i < vNode.nodes.length; i++) {
              if (vNode.nodes.item(i).className === "field") {
                   if (vNode.ui.oneOfChild.className === "checkButton") {
                        if (vNode.items.nodes.length > 1) {
                             if (vNode.value.oneOfChild.value == 1) {
                                  nChk++ ;
              }else if (vNode.nodes.item(i).className === "subform"){
                   if (vNode.nodes.item(i).name === "Door_Subform"){
                        countChk(vNode.nodes.item(i));
         }//endloop
    Hope this help!

  • Changing the name of home folder

    When I set up my machine, I set up the name of my home folder without knowing some of the ramifications of using it. I reviewed the steps in http://www.macworld.com/article/132693/2008/03/changeshortusername.html which seemed reasonably straight forward.
    I created another user called limited, and logged out of my administrators account, and into the newly created "limited" account.
    All of the steps, up to step 10, went smoothly - modified the short name, and Home directory to the desired new name.
    Step 10 required changing the folder name using the following sudo command syntax:
    sudo mv /Users/oldusername /Users/newusername
    I received the following error after I entered the password:
    "limited is not in the sudoers file."
    The only thing I could think of was that the account I created, "limited", was not set up with admin rights - so I went in and selected the "Allow user to administer this computer" checkbox for this account. However, a warning saying the change won't take affect until I logout and back in. I'm reluctant to do this, in case something happens where the Mac requires shutting down before all steps have been completed. I'm thinking of changing the short name and home directory settings (in the Account Preferences) back so they agree with the home folder name, and then redo the process once I know the "sudo" command will work. *Does this seem like a reasonable precaution?* I want to avoid having half the job done in case something happens and the Mac has to be restarted.
    At this point, I don't know if my assumption is correct about the failure to execute the sudo command. Will adding the Admin rights to the account "limited" insert "limited" into the sudoers file? If not, what do I need to do to resolve that problem.
    I've included the steps below:
    ============================================
    1. If Automatic Login is enabled (in Accounts preferences) for the account you’re modifying, disable it. Similarly, if File Vault is enabled (in Security preferences), disable it. You can re-enable these features, if desired, after completing the procedure.
    2. Log in as a different user than the one you want to modify; make sure the account you want to modify is not logged in.
    3. Open the Accounts pane of System Preferences.
    4. If the lock icon in the lower-left of the Accounts window is “locked,” click on it and provide an administrative username and password; this allows you to make changes.
    5. In the list of accounts on the left, right-click (or Control-click) on the name of the account you want to modify; choose Advanced Options from the resulting menu.
    6. In the Advanced Options screen, delete your current short username in the Short Name field, and then type in your desired new short username.
    7. In the Home Directory field, change /Users/oldusername to /Users/newusername, where oldusername is your original short username and newusername is your new short username. Make note of the original and new paths.
    8. Click on OK and close System Preferences.
    9. Open Terminal (in /Applications/Utilities).
    10. Type the following command, all on one line, and then press Return; when prompted, provide the password of the admin account you’re currently using, and then press Return again:
    sudo mv /Users/oldusername /Users/newusername
    (These are the original and new Home Directory paths from Step 7; oldusername is your original short username and newusername is your new short username.) This step renames your home folder in the Finder.
    11. Restart your Mac.

    NibblesNBits wrote:
    When I set up my machine, I set up the name of my home folder without knowing some of the ramifications of using it. I reviewed the steps in http://www.macworld.com/article/132693/2008/03/changeshortusername.html which seemed reasonably straight forward.
    I created another user called limited, and logged out of my administrators account, and into the newly created "limited" account.
    All of the steps, up to step 10, went smoothly - modified the short name, and Home directory to the desired new name.
    Step 10 required changing the folder name using the following sudo command syntax:
    sudo mv /Users/oldusername /Users/newusername
    I received the following error after I entered the password:
    "limited is not in the sudoers file."
    The only thing I could think of was that the account I created, "limited", was not set up with admin rights - so I went in and selected the "Allow user to administer this computer" checkbox for this account. However, a warning saying the change won't take affect until I logout and back in. I'm reluctant to do this, in case something happens where the Mac requires shutting down before all steps have been completed.
    nothing will happen. just log out/in and rerun the command. an account has to be admin to use sudo.
    Message was edited by: V.K.

  • How to set the name for an 'unknown' file extension?

    Specifics:
    I have various file extensions that are recognized by my mac. I would like to know how to create a list of applications that can open it so I do not get a 'There is no Default Application to open this file' error. I would also like to be able to give these file extensions names recognized by the mac.
    Just like .txt is a "Textedit Document" and .html is a "HTML Document," I'd like to be able to change the name and assosication of a file and give it its own .icns if possible.
    As for the default applications, I know how to set a default application. However, if a mac does not recognize a file extension, adding a new default application to run the file wil actually erase the old one, which is a big pain, especially when your file can be opened with ANY text editor.
    I understand that this may involve hacking into the operating system's databases, but if anyone can help, it would be greatly appreciated.

    Hi Timo,
    My jdev version is 10.1.3.3.0, this is for R12. By PR i mean to say process request and PFR process form request in the controller.
    In the Process request of the controller, i am finding the checkbox bean and assigning the firepartialaction for it.
    Later in the process form request for the fired event, i am trying to handle the rendered property of the messagetextinput. Is this a right approach?
    my code below
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OAMessageCheckBoxBean oamessagecheckboxbean = (OAMessageCheckBoxBean)oawebbean.findChildRecursive("X_FLAG");
    if(oamessagecheckboxbean != null)
    oapagecontext.writeDiagnostics(this, "Message check box Bean found:", 1);
    FirePartialAction firepartialaction = new FirePartialAction("change");
    oamessagecheckboxbean.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR, firepartialaction);
    oamessagecheckboxbean.setFireActionForSubmit("change", null, null, true);
    oapagecontext.writeDiagnostics(this, "setting fire event", 1);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processFormRequest(oapagecontext, oawebbean);
    oapagecontext.writeDiagnostics(this, "Inside Process Form Request", 1);
    if("change".equals(oapagecontext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    OAMessageTextInputBean bean = (OAMessageTextInputBean)oawebbean.findChildRecursive("X_NUMBER");
    if(bean!=null){
    bean.setRendered(Boolean.TRUE);}
    Thanks,
    Malar

  • Where is the name of the file when upload in UIX

    Hi, I'm using ORDSYS.ORDDoc as column type of my upload file colum, because is the only way to do upload with UIX without programming. All is Ok with this type of colum (I wish to do the same with blobs), but I have a problem: where is the name of the file? I need to get the name, I read about one attribute for this, somebody know about it?
    Thanks.

    Hi,
    but I made all automatic with UIX, I need that the link when I listing this colum, don't say a fixed name, I want that this link save the file with the original file name. 2 things, maybe when the file was saved, the info about the original name not was saved too, or the method that write the link, don't use this name, only a fixed name.
    Thanks.

  • Declaring var, changing the name

    I have an myArray created from list of master pageItems:
    myDoc.masterSpreads[0].pageItems.everyItem().name.sort());
    I am going to use every of this Array element in my dialog as a
    checkboxControls.add ({staticLabel: myArray[k]});
    At the same time I should declare a variables which will keep user checkedState:  .
    So thats should be myChck_1, myChck_2, ... myChck_n,  - depends on myArray.length - declared.
    How can I declare variables with names changing with counter "k" value?
    Thx

    Let's try to make it clear.
    Given an array of strings—say myNames—the goal is to associate a control (here a checkbox) to each string.
    The first stage is to create each control within the UI container. This can be done easily, as illustrated in the original post:
    // myNames is an array of strings
    var i;
    for( i=0 ; i < myNames.length ; ++i )
       myCheckboxControls.add({ staticLabel: myNames[i] });
    The above code produces the corresponding control objects—instances of CheckboxControl—but it does not provide a convenient way to access these objects using the original index (in myNames). What the author needs is to keep a reference to each control and to have access to each reference the same way he loops through myNames (i.e., by index). Hence, the ideal structure for this is another array.
    The point is that the CheckboxControls.add(...) method returns a reference to the CheckboxControl object  it just created. You can store this reference in a variable, or directly within your destination array.
    In JavaScript, arrays basically behave as regular objects in that you can fill them 'on the fly' using an integer—the index—in the role of the property name. We can therefore develop the initial code as follows:
    // myNames is an array of strings
    var i;
    var destArray = []; // declare an empty Array
    for( i=0 ; i < myNames.length ; ++i )
       destArray[i] = myCheckboxControls.add({ staticLabel: myNames[i] });
    The only improvement is that the reference to each newly created control is registered in destArray.
    > How does one loop through the new array for the names while also looping through the checkbox array?
    In fact, the code loops through an existing array (myNames), builds for each index a control based on myNames[i] and stores the corresponding reference in destArray using the same index. The resulting array is gradually filled during the loop. and the correspondence between destArray and myNames is maintained through a common index.
    Now, given a specific index, k, one can easily access to both the corresponding label (myNames[k]) and the corresponding control state: destArray[k].checkedState.
    @+
    Marc

  • How to set the "Name" Column in EM

    I am wondering how I can get the "Name" Column to be a set to a custom text of my choosing when it is set during runtime in my SOA composite.
    Here is a link to a pic of the field I am trying to set
    http://img13.imageshack.us/img13/1491/16823609.png
    Edited by: 960635 on Nov 19, 2012 12:31 PM

    Are you referring to having a checkmark symbol, or an actual checkbox that the user can change its state. If it's the former, then that's done by making symbols visible and writing to the Item Symbols property. If it's the latter, then that's something you have to program yourself. You may want to take a look at this thread, which points to an example on LAVA. There is also this example. All found using a search...

  • Counting Checkboxes with different Names

    I have a form that I am creating in Livecycle Designer 8.0 that has 100 checkboxes that the user selects from. I would like to have a field that counts how many check boxes are checked. What is the easiest way to do this?
    Also, Do I have to add each field individually or is there a way to select them all and insert to the formula at once?
    Thanks!

    Big thanks out to Paul Guerette for helping me write the script for this. He gave me an option to do it as an exit event of the pages or on a button click. Here is the code for the button click:
    - form1.Order_Page.Button1::click: - (JavaScript, client) ---
    form1.Order_Page.Product_Table.Row3.Course_Quantity.rawValue = 0;
    //app.alert("Page1 Exit Event fired!!!!");
    //Get total number of element on Page 1 of the form
    var allChildElements = form1.Course_Selection_Subform1.Course_Selection_Page_1.nodes;
    var intNumElements = allChildElements.length;
    //app.alert("The number of elements is: " + intNumElements);
    //Loop through all the objects on Page1
    for(j=0; j< intNumElements;j++){
    //set the 1st object to a variable name
    currentElement = allChildElements.item(j);
    //if the object is a field then test to see if it is a checkbox
    if(currentElement.className == "field") {
    //app.alert(currentElement.ui.oneOfChild.className);
    // is it a checkbox?
    if (currentElement.ui.oneOfChild.className == "checkButton"){
    //Is the checkbox checked?
    if (currentElement.rawValue == "1"){
    //increment the Course_Quantity field
    form1.Order_Page.Product_Table.Row3.Course_Quantity.rawValue = form1.Order_Page.Product_Table.Row3.Course_Quantity.rawValue + 1;
    //app.alert("Page2 Exit Event fired!!!!");
    //Get total number of element on Page 1 of the form
    var allChildElements = form1.Course_Selection_Subform2.Course_Selection_Page_2.nodes;
    var intNumElements = allChildElements.length;
    //app.alert("The number of elements is: " + intNumElements);
    //Loop through all the objects on Page1
    for(j=0; j< intNumElements;j++){
    //set the 1st object to a variable name
    currentElement = allChildElements.item(j);
    //if the object is a field then test to see if it is a checkbox
    if(currentElement.className == "field") {
    //app.alert(currentElement.ui.oneOfChild.className);
    // is it a checkbox?
    if (currentElement.ui.oneOfChild.className == "checkButton"){
    //Is the checkbox checked?
    if (currentElement.rawValue == "1"){
    //increment the Course_Quantity field
    form1.Order_Page.Product_Table.Row3.Course_Quantity.rawValue = form1.Order_Page.Product_Table.Row3.Course_Quantity.rawValue + 1;

  • Give a checkbox a variable name.

    I am using a Flash form to add/edit records in an MS Access
    Database via ASP. It's working great for all of the text fields,
    because I just refer to the variable names in my ASP script and it
    updates the corresponding field in the Access database. However, I
    have a checkbox (yes/no) field in my database which I can't seem to
    update using a checkbox in a Flash form. I assume that if I could
    assign the checkbox in the Flash Form a variable name and then make
    checked = -1 and unchecked = 0 (as it does in Access), then I'd be
    in the money.
    So in short, does anybody know how to do the following in
    Actionscript 2:
    a) Give a checkbox a variable name (like the one a Text Input
    field can be given in "Properties")
    b) Make checked = -1 and unchecked = 0 for the checkbox in
    Flash?
    Thanks so much!!!

    Start a new Flash file and place a checkbox and a dynamic
    textfield on the stage.
    Give the checkbox an
    instance name of cBox
    Give the textfield a
    variable name of cBoxStatus and an
    instance name of cBS
    Then plant the following code in the timeline, play the
    movie, click the checkbox a few times. You can read the textfield
    directly for the values you say you want (0,-1) via: cBoxStatus or
    Number(cBS.text);
    If you don't want the textfield to be visible, there are a
    number of ways you can hide it. I'll let you work that out...
    something to think about and solve--don't think too hard
    though--it's not difficult.

  • Select the name of the column in combobox

    Hi !!
    i have already get the name of the columns in a combobox with this code 
    xlWorkSheet = CType(xlWorkBook.Sheets(ComboBox1.Text), Excel.Worksheet)
    xlWorkSheet.Activate()
    xlApp.Visible = True
    With xlWorkSheet
    Dim LastCol As Integer = xlWorkSheet.Cells(1, xlWorkSheet.Columns.Count).End(XlDirection.xlToLeft).Column
    For x As Integer = 1 To LastCol
    ComboBox2.Items.Add(xlWorkSheet.Cells(1, x).value)
    Next
    End With
    and what i want is :
    when i select the name of the column :
    -this column will be copie in a new sheet of the same workbook (a new sheet add and the column of the table will be there )
    help me pleasee

    i use tis code 
     Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
            Dim Excols As New Dictionary(Of Integer, String)
            xlWorkSheet = CType(xlWorkBook.Sheets(ComboBox1.Text), Excel.Worksheet)
            xlWorkSheet.Activate()
            xlApp.Visible = True
            With xlWorkSheet
                Dim LastCol As Integer = xlWorkSheet.Cells(1, xlWorkSheet.Columns.Count).End(XlDirection.xlToLeft).Column
                For x As Integer = 2 To LastCol
                    Excols.Add(x, xlWorkSheet.Cells(1, x).value.ToString)
                Next
                ComboBox2.DataSource = New BindingSource(Excols, Nothing)
                ComboBox2.ValueMember = "Key"
                ComboBox2.DisplayMember = "Value"
                AddHandler ComboBox2.SelectedIndexChanged, AddressOf ComboBox2_SelectedIndexChanged
            End With
        End Sub Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox2.SelectedIndexChanged
            Dim exWS2 As Microsoft.Office.Interop.Excel.Worksheet
            xlWorkSheet = CType(xlWorkBook.Sheets(ComboBox1.Text), Excel.Worksheet)
            xlWorkSheet.Activate()
            xlApp.Visible = True
            With xlWorkSheet
                Dim key As String = DirectCast(ComboBox2.SelectedItem, KeyValuePair(Of Integer, String)).Key
                Dim value As String = DirectCast(ComboBox2.SelectedItem, KeyValuePair(Of Integer, String)).Value
                Dim lastrow As Integer = xlWorkSheet.Cells.Rows.End(XlDirection.xlDown).Row
                Dim colletter As String = ColumnIndexToColumnLetter(key)
                exWS2 = DirectCast(xlWorkBook.Sheets.Add, Microsoft.Office.Interop.Excel.Worksheet)
                exWS2.Name = value
               xlWorkSheet.Range(colletter & "1:" & colletter & lastrow.ToString).Copy(exWS2.Range("A1"))
                ' xlWorkSheet = DirectCast(xlWorkBook.ActiveSheet, Microsoft.Office.Interop.Excel.Worksheet)
                'exWS2 = DirectCast(xlWorkBook.Sheets.Add, Microsoft.Office.Interop.Excel.Worksheet)
                'exWS2.Cells(1, 1).value = ComboBox2.SelectedItem.ToString
                'exWS2.Name = ComboBox2.SelectedItem.ToString
            End With
            Me.Hide()
            form2.show()
        End Sub
        Private Function ColumnIndexToColumnLetter(ByVal colIndex As Integer) As String
            Dim div As Integer = colIndex
            Dim colLetter As String = String.Empty
            Dim modnum As Integer = 0
            While div > 0
                modnum = (div - 1) Mod 26
                colLetter = Chr(65 + modnum) & colLetter
                div = CInt((div - modnum) \ 26)
            End While
            Return colLetter
        End Functionbut 
    when i click on the button a new sheet add named the first colum and an other sheet add also empty 
    without  choosing an items of the combobox :(
    and  i get an error in this :   exWS2.Name = value
    which is :
    Impossible de renommer une feuille comme une autre feuille, une bibliothèque d'objets référencée ou un classeur
    référencé par Visual Basic.

Maybe you are looking for

  • In ABAP HR how to get job using position

    In ABAP HR how to get job using position (Using Infotype 1001)

  • Proxy to file, method EXECUTE_ASYNCHRONOUS

    Hi, Iam doing a scenario with the help of blogs ABAP Proxies in XI(Client Proxy) Weblog to send Response from RFC to File in Asyn Mode Using Proxy In those blogs it is mentioned that once i create and activate my proxy, I get a method called EXECUTE_

  • A problem with iMessage.

    Hi everyone, My problem is that I and my friend use the same Apple ID. Everything is okay, except the iMessage. When someone text to me, he also see my message. How can i solve this problem? I plan to change my Apple ID and sign in in my device. But

  • What video settings should I select for 60m of video in iMovie

    My gear: HDTV, DVD player that upconverts to 1080i, Canon HG10 HD camcorder I record in HD. I have both an HDTV and a 4:3 standard TV. I don't have a Bluray player, nor do I want to invest in one at the moment. I only need to record 60 minutes of vid

  • 805 MB on a 700 MB CD?!  Can I copy a weirdly large Audio CD onto a DVD?

    Went to make a few copies of a borrowed audio CD. Made the playlist and asked iTunes to "Burn playlist to disc," and read that my playlist is too large to fit on a CD. That's odd. I copied it from a CD. So is there a way to copy a now-805 MB audio fi