AxeTracks
asked on
Excel 2010 VBA macro
I have a spreadsheet with 12 columns, the last column is a date. I want to scan down this column and when the date changes, i want to insert an empty row. The empty row will be used to sum the columns for that day.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
try this
Sub InsertMania()
'Insert row above active cell
ActiveCell.EntireRow.Inser
'Insert row below active cell
ActiveCell.Offset(1).Entir
'Insert column to the left of the active cell
ActiveCell.EntireColumn.In
'Insert column to the right of the active cell
ActiveCell.EntireColumn.Of
End Sub
by
kumaresan