Excel Forms

forrestgump

New Member
Joined
Sep 30, 2010
Messages
22
Hi,

I am trying to create an excel form and I need to get the form text boxes to look at the information of the current rows. I need to reference the cell so I can view the cell on my form and amend and save if necessary. At present I cannot find a simple example to work from.

Can anyone provide a simple example of how a text box links to a cell on a worksheet, can be amended, then saved, and then how the additional cells in the row can be linked to the relevant cells (I think this will be some sort of offset formula).

Any help would be much appreciated.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi,

Thanks for this I have tried this website but it only helps with adding new data not viewing data already there and having the ability to amend the code.
 
Upvote 0
Try like this

Code:
Private Sub UserForm_Initialize()
Me.ListBox1.RowSource = "A1:A10"
End Sub

You really need to have a more specific question that 'how do I use a Userform".
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,550
Members
452,927
Latest member
rows and columns

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top