Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default one user form multiples worksheets

i'm loking for to write a code that allows me to use one user form to enter
data in multiples working sheets, the fields names will be all the same in
all sheets as well the kind of data, the code would place the information on
a destination sheet indexed to a selection from a combo box ( on the form 'f
course) wich contains all the sheets names. the combo box also would allow me
to create a new work sheet for a new set of information. can anybody give a
hand on that?

I apreciate all the help.

celio3c
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,117
Default one user form multiples worksheets

for example, a userform with a button that says "ok" when you're done
entering information:

sub cmdok_click()
dim myWorksheet as worksheet

set myWorksheet = me.combobox1.value

myWorksheet.range("a1").value = me.txtName.value
myWorksheet.range("b1").value = me.txtAddress.value

End Sub

not tested, but hope it gives you an idea to get you started.
:)
susan




On Dec 11, 10:22*pm, celio3c
wrote:
i'm loking for to write a code that allows me to use one user form to enter
data in multiples working sheets, the fields names will be all the same in
all sheets as well the kind of data, the code would place the information on
a destination sheet indexed to a selection from a combo box ( on the form 'f
course) wich contains all the sheets names. the combo box also would allow me
to create a new work sheet for a new set of information. can anybody give a
hand on that?

I apreciate all the help.

celio3c


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
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
User form JonathanW Excel Discussion (Misc queries) 1 May 2nd 07 07:50 AM
User form Mike Rogers New Users to Excel 7 December 16th 05 05:07 PM
Help On User Form mastee Excel Discussion (Misc queries) 4 August 23rd 05 12:31 PM
user form static69 Excel Discussion (Misc queries) 1 February 6th 05 08:43 PM


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