![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 5
|
first the names
excel workbook = project(4) sheet with dialog box = DiaQuart in sheet diaquart there's my textbox= Date answer should go to same workbook, sheet= rapport, cell=D3 --------------------------------- my question please answer step by step because i am ery good in excel but looks like i cant understand nothing from vba even the dumbest line of code!! ok i've made a dialog box, i have a lot of textbox that the user has to fill in with his info. i want these info to be copied to a specific cell in my worksheet(rapport(D3)) when the user press the ok button. should be easy to answer isint it? cant figure it out!! Thanks MAZ |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Manchester, UK
Posts: 95
|
Private Sub CommandButton1_Click()
Worksheets("Rapport").Range("d3") = Worksheets("Diaquart").TextBox1.Text End Sub |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 5
|
still dont work!
Maz |
|
|
|
|
|
#4 |
|
New Member
Join Date: Apr 2002
Posts: 5
|
anayone can send me an simple example
of how to copy the data from a textbox in a msgbox to a worksheet so i can compare the code thanks maz |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|