Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to get the contents of TextBox1 and Textbox2 to be placed into
the 1st and 2nd cell of the current row of all worksheets. I have tried to alter the code below, but nothing seems to work. Private Sub CommandButton1_Click() Module1.Unprotect_All_Sheets 'This UserForm is used to populate the worksheet Dim SH As Worksheet Dim rng As Range For Each SH In ActiveWorkbook.Worksheets SH.rng(1, 1).Value = TextBox3.Text SH.rng(1, 2).Value = TextBox5.Text Next SH wb.Activate ws.Select c.Select Unload Correct_Information Unload Meeting_Attendance End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copying rows of data into new worksheet but placing data into colu | Excel Discussion (Misc queries) | |||
Placing external data in a worksheet | Excel Worksheet Functions | |||
Searching for data and placing in new worksheet | Excel Worksheet Functions | |||
PLACING PIC IN WORKSHEET USING MACRO | Excel Programming | |||
Worksheet reference (i.e placing worksheet name in a cell) | Excel Worksheet Functions |