Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Range of Cells to populate in a text box on a userform


I have scoured the internet and help for answers to this one.
Is there a way to have a range of cells populate a textbox on a
userform when I click a commandbutton?
So far I have been only able to: make a text value entered in the macro
code of the commandbutton populate into the text box. Another way made
the text populate into the worksheet cells that I wanted to import
from.
I am wanting to use protected worksheets(not protected from me) to edit
information, and have the users see that information and any changes I
make, via the userform and command buttons. Anyone have ideas on how
to program macros to do this?
Thank you for your time hard hard work

Benji


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Range of Cells to populate in a text box on a userform


After 2 twos of deep thought here is the answer :

TextBox1.Value = ("")
Sheets("Sheet Name").Select
ActiveSheet.Range("$a$1:$L$61").Copy
TextBox1.Paste
Sheets("Main Page").Select




The results were very pleasing although I need to adjust the
information on the worksheet. This alows me to input the information on
the worksheet and other users can view only this information via a
command button on a userform.

Thanks to all who looked and tried!!

Ben :D


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly 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 growing range of cells from Sheet1 to Sheet2 Brad New Users to Excel 10 July 23rd 09 08:32 AM
how can i re-populate a userform with data already entered? Paul Dye New Users to Excel 1 January 24th 07 04:49 AM
create a userform to populate a diagram with the forms info Mic Excel Discussion (Misc queries) 0 July 22nd 05 08:07 PM
How to populate formula in range of vertical cells to next colum Robert Excel Worksheet Functions 0 November 17th 04 05:09 AM
Populate Userform text boxes in VBA with VLookup data from #2 worksheet Laz[_2_] Excel Programming 4 October 8th 03 02:15 AM


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