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: 2,836
Default Populate form from row data

Here are a few examples, with formatting:
Private Sub CommandButton2_Click()
Unload UserForm3
Application.Quit
End Sub

Private Sub UserForm_Activate()

TextBox1.Text = Cells(3, 27)
TextBox2.Text = Cells(4, 27)
TextBox3.Text = Format(Cells(5, 27), "##0.00##%")
TextBox4.Text = Cells(6, 27)
TextBox5.Text = Format(Cells(7, 27), "$#,##0.00")
TextBox6.Text = Format(Cells(8, 27), "$#,##0.00")

On Error Resume Next

End Sub

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Kent McPherson" wrote:

I want to create my own form for the data in my spreadsheet because I don't
like the default form that Excel creates. Is it a matter of creating many
textboxes and then somehow "reading" the first row? Any good tutorials on
building a form and populating from the spreadsheet would be helpful. I
googled "populate excel form" but didn't find anything that helped.



 
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 an order form with Data Les Linton Excel Worksheet Functions 0 January 16th 08 02:13 AM
populate form from where the cursor is Diana Morrison Excel Worksheet Functions 1 December 7th 07 08:57 PM
Populate a form Doug Excel Worksheet Functions 3 December 15th 06 03:33 PM
How to enter data in one form & populate several others w/same. cmcpsych Excel Worksheet Functions 3 October 13th 06 01:45 AM
Populate a form with data from a range randallwilkins[_2_] Excel Programming 3 June 19th 06 11:12 PM


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