Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 109
Default populate userform only

I have a w/book ,data is added to w/sheet 1 through a userform.Whenever I am
activating the userform ,it is populating on sheet1.Is there any way to
display only userform,so that users can not view the data of any sheet in
w/book.How to populate userform only.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200904/1

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default populate userform only

Issue this command in the UserForm's Activate event (assuming the user is
allowed to see Sheet1 when the UserForm is not being displayed)...

Worksheets("Sheet1").Visible = False

and you can put this command...

Worksheets("Sheet1").Visible = True

in the UserForm's QueryClose event in order to show the worksheet again.

--
Rick (MVP - Excel)


"tkraju via OfficeKB.com" <u16627@uwe wrote in message
news:94bdb7bbe4ca8@uwe...
I have a w/book ,data is added to w/sheet 1 through a userform.Whenever I
am
activating the userform ,it is populating on sheet1.Is there any way to
display only userform,so that users can not view the data of any sheet in
w/book.How to populate userform only.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200904/1


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 a userform from a worksheet Tendresse Excel Programming 1 February 25th 09 01:23 AM
Populate A Userform ComboBox mastermind Excel Programming 2 April 24th 07 09:52 PM
Populate sheet from userform cityfc Excel Programming 6 April 15th 06 11:18 PM
Populate Userform from another workbook Ryan Excel Programming 0 May 12th 04 09:31 PM
Userform using 3 ranges to populate. Todd Huttenstine[_2_] Excel Programming 1 December 13th 03 12:33 AM


All times are GMT +1. The time now is 05:08 AM.

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"