Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
David,
Sub TryNow() Dim myRow As Long Dim i As Integer For myRow = 10 to 1000 Step 2 For i = 0 To 84 Cells(myRow, i * 3 + 1).Resize(1, 3).Merge Next i Next myRow End Sub HTH, Bernie MS Excel MVP "David Bateman" wrote in message ... Sub TryNow() Dim i As Integer For i = 0 To 84 Cells(10, i * 3 + 1).Resize(1, 3).Merge Next i End Sub Sorry it appears that I have to merge every other row. Can this be done? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to programatically control a 3D-sum? | Excel Worksheet Functions | |||
programatically merge cells? | Excel Programming | |||
Set dropdown programatically | Excel Programming | |||
Programatically set ref to my DLL | Excel Programming | |||
Altering UI Programatically | Excel Programming |