Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 22
Send a message via Skype™ to Bakar
Cool Textbox input goes to 2 sheets in same wbk

Hi experts
Can i have an idea how to send this ifn fo in 2 sheets with thw same button click
I am using this part for textbox entry
I want to this info goes to sheet 6 also
that is same information in sheet 4 and 6
Code......then
RowCount = Worksheets("Sheet4").Range("A1").CurrentRegion.Row s.Count
With Worksheets("Sheet4").Range("A1")
.Offset(RowCount, 0).Value = UserForm1.TextBox1.Value
.Offset(RowCount, 1).Value = UserForm1.TextBox2.Value
.Offset(RowCount, 2).Value = UserForm1.TextBox3.Value
.Offset(RowCount, 3).Value = UserForm1.TextBox4.Value
.Offset(RowCount, 4).Value = UserForm1.ComboBox1.Value
.Offset(RowCount, 6).Value = UserForm1.TextBox6.Value
.Offset(RowCount, 7).Value = UserForm1.TextBox7.Value
.Offset(RowCount, 8).Value = UserForm1.ComboBox2.Value
.Offset(RowCount, 9).Value = UserForm1.ComboBox4.Value
.Offset(RowCount, 19).Value = UserForm1.ComboBox3.Value
.Offset(RowCount, 21).Value = UserForm1.ComboBox5.Value



End With

For Each ctl In UserForm1.Controls
If TypeName(ctl) = "TextBox" Or TypeName(ctl) = "ComboBox" Then
ctl.Value = ""

End If
Next ctl


End Sub


Help please

Bakar
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
Textbox from 1st worksheet to textbox to other multiple sheets LRay67 Excel Programming 2 March 18th 08 02:20 PM
Textbox input control? Rbp9ad[_2_] Excel Programming 1 November 9th 05 07:00 PM
Textbox input interpretation Mats Samson Excel Programming 2 August 19th 05 02:16 PM
validation of input in textbox Peer Excel Programming 3 July 23rd 04 03:06 PM
Limit input in a textbox James Agostinho Excel Programming 2 September 10th 03 03:10 PM


All times are GMT +1. The time now is 11:17 AM.

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"