Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Using Hidden Sheets to populate listbox

Worksheets("Sheet1").Activate
Range("A1").Select
Selection.Value = 3
Range("B9").Select
Selection = 3
Selection.Copy
Worksheets("Sheet2").Activate
Range("C3").Select
Selection.PasteSpecial xlValues

could be done

With Worksheets("Sheet1")
.Range("A1").Value = 3
.Range("B9").Value = 3
worksheets("Sheet2").Range("C3").Value = _
.Range("B9").Value
End With

It wouldn't make any difference what sheet was visible, or if any of the
sheets referenced are hidden or not.

by form do you mean userform?

Private Sub Userform_Initialize()
Userform1.Listbox1.Rowsource = "Sheet1!A1:A10"
End Sub

--
Regards,
Tom Ogilvy


"MrPebody70 " wrote in message
...
Greetings folks,
How do I keep a sheet hidden and still use the data?
I want the end user to use the form I generated and keep the chart
that shows the info on top at all times.
So all the updating happens in the background without switching
between sheets.
Secondly I would like to populate a listbox on the form with data
from a seperate sheet, but so far I haven't been able to figure that
one out either.
I have taught myself most of what I know, (not much) and ther are
some holes in my skills. I appreciate any spackle we could put in
those holes.
Thanks


---
Message posted from http://www.ExcelForum.com/



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
populate ldropdown listbox from a dbf. file niteman27 Excel Discussion (Misc queries) 0 December 1st 08 10:57 PM
Array to Populate ListBox Problem pallaver Excel Discussion (Misc queries) 1 July 25th 08 08:50 AM
populate listbox JSnader Excel Programming 2 December 6th 03 02:43 PM
Populate listBox Hamster Excel Programming 1 September 17th 03 01:14 PM
ListBox Populate Rod Taylor Excel Programming 3 July 22nd 03 12:11 AM


All times are GMT +1. The time now is 09:56 PM.

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"