Results 1 to 3 of 3

Copy all Entries from Form Control (not ActiveX) List Box to Worksheet

Threaded View

Saramara Copy all Entries from Form... 02-06-2012, 07:09 PM
Saramara Re: Copy all Entries from... 02-07-2012, 02:11 AM
Mordred Re: Copy all Entries from... 02-07-2012, 02:17 AM
  1. #1
    Registered User
    Join Date
    12-27-2011
    Location
    Unknown
    MS-Off Ver
    Excel 2010
    Posts
    7

    Copy all Entries from Form Control (not ActiveX) List Box to Worksheet

    Hi Everyone,

    I am trying to copy all the entries from Form Control (not ActiveX) List Box without any success.

    The code, that I used to create the list boxes is given below:

    ActiveSheet.ListBoxes.Add(Cells(nextRow, 3).Left, Cells(nextRow, 3).Top, Cells(nextRow, 3).Width, Cells(nextRow, 3).Height).Select
              With Selection
                  .Name = Sheets("Sheet1").Range("D4").Value
                  .Display3DShading = True
    
    ' Then I am populating the List Box like this:
    
    If Len(Sheets("Sheet1").Range("A1").Value) <> 0 Then
    .AddItem Sheets("Sheet1").Range("A1")
    End If
    Later (after populating the List Box), I need to copy all the entries from a concrete List Box : V1 - to worksheet cells; V2 - would like to populate check boxes according to the values copied.

    Any help would be highly appreciated.
    Last edited by Saramara; 02-08-2012 at 07:59 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1