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

Is there a way to set up a user form, or something similar, so that when I
click a button, it will bring up a place for a person to type small bits of
information. When they are done and submit the info, it will go to a specific
cell in the worksheet?

For example,
I want to add a City to a list. I click the add city button. Type in the
city and click OK. The city will then be added to a list?

Any help or ideas is always appreciated.

Thanks,
Steve
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default User Form

Just use an inputbox

Dim rng as Range
set rng = Cells(rows.count,"F").End(xlup)(2)
rng.Value = InputBox("Enter New City Name")

--
Regards,
Tom Ogilvy


"Steve" wrote in message
...
Is there a way to set up a user form, or something similar, so that when I
click a button, it will bring up a place for a person to type small bits

of
information. When they are done and submit the info, it will go to a

specific
cell in the worksheet?

For example,
I want to add a City to a list. I click the add city button. Type in the
city and click OK. The city will then be added to a list?

Any help or ideas is always appreciated.

Thanks,
Steve



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default User Form

Scratch that. I have decided to take a different route.

Steve

"Steve" wrote:

Is there a way to set up a user form, or something similar, so that when I
click a button, it will bring up a place for a person to type small bits of
information. When they are done and submit the info, it will go to a specific
cell in the worksheet?

For example,
I want to add a City to a list. I click the add city button. Type in the
city and click OK. The city will then be added to a list?

Any help or ideas is always appreciated.

Thanks,
Steve

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default User Form

slight addition ....

Dim rng as Range
set rng = Cells(rows.count,"F").End(xlup)(2)
rng.Value = StrConv(InputBox("Enter New City Name"),vbProperCase)

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Tom Ogilvy" wrote in message
...
Just use an inputbox

Dim rng as Range
set rng = Cells(rows.count,"F").End(xlup)(2)
rng.Value = InputBox("Enter New City Name")

--
Regards,
Tom Ogilvy


"Steve" wrote in message
...
Is there a way to set up a user form, or something similar, so that when
I
click a button, it will bring up a place for a person to type small bits

of
information. When they are done and submit the info, it will go to a

specific
cell in the worksheet?

For example,
I want to add a City to a list. I click the add city button. Type in the
city and click OK. The city will then be added to a list?

Any help or ideas is always appreciated.

Thanks,
Steve





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 form Ruth Excel Discussion (Misc queries) 3 October 30th 08 12:51 PM
How do I fill a cell in a user form from a selection on same form? Terry Tipsy Excel Discussion (Misc queries) 4 June 11th 07 02:59 PM
How to: User Form to assign a user defined range to a macro variab TrevTrav Excel Programming 1 March 22nd 05 07:57 PM
I am looking to see if anybody has an equivalant user form to Outlooks CONTACT form BruceJ[_2_] Excel Programming 2 October 15th 03 05:28 PM


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