Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Moving cell values from sheet2 to sheet1 using UserForms and ListBox

Some questions from a novice user.

Here is the task:

I have a workbook with two spreadsheets. Sheet2, column A consist of x cells
of unique serial numbers.
From Sheet1 the user should select an empty cell in column A, then click a
button that starts the UserForm. The UserForm should have a ListBox
populated with the unique serial numbers from Sheet2.
By selecting one serial number (and clicking the OK button in the userForm),
that number should be pasted in to the cell that was active when the
UserForm was activated and the unique serial number should be removed from
Sheet2.

Questions:
- How do you fill up the list box whit the values from Sheet2 when you don't
know the numbers of cells used?
- How do you paste the number chosen into the active cell of Sheet1?
- How do you delete the chosen number from Sheet2?

Any help is appreciated.

Regards
Stein Kristiansen


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
copy data from sheet2 to sheet1 when sheet2 has variable # of rows Anne Excel Discussion (Misc queries) 6 February 27th 09 09:48 PM
jump to cell in sheet2 when values in sheet1 is true amelia Excel Discussion (Misc queries) 3 January 18th 09 08:13 AM
Copy values from Sheet1 to Sheet2 Eintsein_mc2 Excel Discussion (Misc queries) 1 January 6th 05 05:02 AM
Moving from 1 row sheet1 to sheet2 tomc112 Excel Worksheet Functions 5 November 24th 04 09:46 PM
How to set sheet1!cell = sheet2!samecell and set format? Paul Excel Programming 2 September 12th 03 03:52 PM


All times are GMT +1. The time now is 12:49 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"