#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default User Forms

How do I link a user form text box to a worksheet? What I need to do is
create a form entry for viewing, editting, adding, deleting rows of data on a
worksheet. Please assist. Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default User Forms

Userform textboxes do not have a property that ties their values to
particular worksheet cells, so you'll need a macro to populate the userform,
e.g,:

TextBox1.Value = Range("A1").Value

--
Jim Rech
Excel MVP
"CindyK" wrote in message
...
| How do I link a user form text box to a worksheet? What I need to do is
| create a form entry for viewing, editting, adding, deleting rows of data
on a
| worksheet. Please assist. Thank you


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default User Forms

Jim,
ControlSource property doesn't work for you? Worked for me in xl97 with a
textbox from the control toolbox toolbar on a userform. Are you talking
about something else?

--
Regards,
Tom Ogilvy

"Jim Rech" wrote in message
...
Userform textboxes do not have a property that ties their values to
particular worksheet cells, so you'll need a macro to populate the

userform,
e.g,:

TextBox1.Value = Range("A1").Value

--
Jim Rech
Excel MVP
"CindyK" wrote in message
...
| How do I link a user form text box to a worksheet? What I need to do is
| create a form entry for viewing, editting, adding, deleting rows of data
on a
| worksheet. Please assist. Thank you




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default User Forms

The textbox has a link property, called ControlSource. Set that to the cell
reference.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"CindyK" wrote in message
...
How do I link a user form text box to a worksheet? What I need to do is
create a form entry for viewing, editting, adding, deleting rows of data

on a
worksheet. Please assist. Thank you



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default User Forms

I can't use Control Source because I have many records and need to be able to
move between records on the screen. What I did was assign the starting
record in code behind the form but now I am trying to create command buttons
to move between the records (no luck yet). If anyone can help, please do.
Thanks

"Bob Phillips" wrote:

The textbox has a link property, called ControlSource. Set that to the cell
reference.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"CindyK" wrote in message
...
How do I link a user form text box to a worksheet? What I need to do is
create a form entry for viewing, editting, adding, deleting rows of data

on a
worksheet. Please assist. Thank you






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default User Forms

Why don't you use the built-in data forms (DataForm...)?@

--

HTH

RP
(remove nothere from the email address if mailing direct)


"CindyK" wrote in message
...
I can't use Control Source because I have many records and need to be able

to
move between records on the screen. What I did was assign the starting
record in code behind the form but now I am trying to create command

buttons
to move between the records (no luck yet). If anyone can help, please do.
Thanks

"Bob Phillips" wrote:

The textbox has a link property, called ControlSource. Set that to the

cell
reference.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"CindyK" wrote in message
...
How do I link a user form text box to a worksheet? What I need to do

is
create a form entry for viewing, editting, adding, deleting rows of

data
on a
worksheet. Please assist. Thank you






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default User Forms

Because the user can close this form easily and also I need to create flags
to check if the record was changed, deleted or added as new. I can do this
with custom command buttons and I don't believe I can modify the built in
data forms feature.

"Bob Phillips" wrote:

Why don't you use the built-in data forms (DataForm...)?@

--

HTH

RP
(remove nothere from the email address if mailing direct)


"CindyK" wrote in message
...
I can't use Control Source because I have many records and need to be able

to
move between records on the screen. What I did was assign the starting
record in code behind the form but now I am trying to create command

buttons
to move between the records (no luck yet). If anyone can help, please do.
Thanks

"Bob Phillips" wrote:

The textbox has a link property, called ControlSource. Set that to the

cell
reference.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"CindyK" wrote in message
...
How do I link a user form text box to a worksheet? What I need to do

is
create a form entry for viewing, editting, adding, deleting rows of

data
on a
worksheet. Please assist. Thank you






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
user forms Runner77 Excel Discussion (Misc queries) 0 January 12th 06 04:31 AM
user forms Brian Excel Programming 2 October 23rd 04 04:17 PM
User Forms Nev[_2_] Excel Programming 4 October 4th 03 12:35 AM
User forms in VBA Dick Kusleika Excel Programming 0 September 29th 03 05:55 PM
User forms Candee[_2_] Excel Programming 2 September 12th 03 03:11 PM


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