Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Copying Temp List to cell

I have a listbox (listBox1) that is populated by selecting items in another
listbox (ListBox).
I am trying to get ListBox1 to load into a temp variable (VtempN) so that I
can load the data into a cell once I have opened a worksheet. I tried to
load the cell with just the listbox1 data ( i.e. Range("B43").Value =
ListBox1.List), but it doesn't show the data. I even tried to redevelop the
list as shown. any help would be appreciated.

Dim n As Long
If List_AddFrom.ListIndex = -1 Then Exit Sub
For n = 0 To List_AddTo.ListCount - 1
If List_AddTo.Value(n) = True Then
VtempN = List_AddTo.List(n)
'
End If
List_AddTo.List(n) = VtempN + 1
Next n
MsgBox VtempN
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem using obj.Namespace(sourceFileName) Namespace(DestinationFilename).Itemsand then opening the xls file which creates a Temp Folder inside Temp Yuvraj Excel Discussion (Misc queries) 3 May 3rd 09 11:59 AM
Copying cell formatting when selecting from a list denspec Excel Discussion (Misc queries) 0 February 14th 07 01:57 PM
Copying cell contents to a list Peter Horrocks New Users to Excel 3 October 1st 05 10:15 PM
Recently Used File List - 2002 Contains 'Temp' Files Keith972002 Excel Discussion (Misc queries) 0 July 26th 05 01:46 PM
Temp File Jullie Excel Programming 0 December 15th 03 05:33 PM


All times are GMT +1. The time now is 08:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"