LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Populating a listbox will a certain cell on multiple worksheets in the activeworkbook

Hi!
I have a listbox in a user form...
I would like to populate the listbox ( on open) with cell A4 (this will be a
state or city that the user enters into cell A4 of each DS Details
worksheet) of all the worksheets in the activeworkbook that have the name
"DS Details" in the name. ( it's ok to have the ws name and cell A4 contents
in the listox)
These worksheets have numbers after them and appear as DS Details , DS
Details (2) , DS Details (3)...and so on...unlimited allowed (or Excel
allows)

After the list is populated with the contents of cell A4 of each worksheet
that has the name DS Details, I would like the user to select the one they
want (by clicking on it in the listbox)...and then when they click OK on the
user form... a worksheet (called OT) from my addin file (addin file is
called "Test" for now), will be copied to the activeworkbook "after" the "DS
Details" worksheet ....that the user selected in the Listbox from the
Userform...

I hope that made sense.. it was hard to explain..

I'm not sure if this can be done.....If it can... can someone please explain
how I do this with code...

Any help is always appreciated.
Thanks in advance! :)
Kimberly





 
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
Populating listbox Mick[_2_] Excel Discussion (Misc queries) 1 May 14th 08 10:48 PM
Populating cells: Working in multiple worksheets Nina - New User Excel Worksheet Functions 0 April 25th 07 10:08 PM
Populating Multiple Worksheets with one entry Intuit Excel Worksheet Functions 5 January 27th 06 09:01 PM
Populating listbox Andy Brown Excel Programming 3 August 16th 04 05:40 PM
Populating a ListBox ToddG Excel Programming 1 June 24th 04 03:18 AM


All times are GMT +1. The time now is 02:16 AM.

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

About Us

"It's about Microsoft Excel"