Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Can I please get help with the following code. Private Sub CommandButton1_Click() Application.ScreenUpdating = False Application.Calculation = xlCalculationManual lastrow = Cells(Rows.Count, "a").End(xlUp).Row For Each c In Range("a2:a" & lastrow) c.Offset(, 5) = c & ", " & c.Offset(, 1) & ", " & c.Offset(, 2) & ", " & c. Offset(, 3) Next c Application.ScreenUpdating = False Application.Calculation = xlCalculationAutomatic End Sub this basically will read entire document and combine the cells I want. but I want to use the sme type of program to combine just one line not read the entire document as I want to embed it in the same sheet as another chart. thanks. -- Message posted via http://www.officekb.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I combine worksheets w/o enough rows to combine? | Excel Worksheet Functions | |||
Combine cells with the same reference and combine quantities | Excel Discussion (Misc queries) | |||
Is there a good program for excel to combine, compare, and edit bo | Excel Discussion (Misc queries) | |||
merging excel program with tdc finance program | Excel Programming |