DCrake
Remembered
- Local time
- Today, 11:07
- Joined
- Jun 8, 2005
- Messages
- 8,626
I have put this here as more people read the General forum.
This is a rather simple task and I have done it before but cannot get it to work today and I do not have access to my server.
Basically I have a recordset that I am using CopyFromRecordset Rs functionality. However what I want to do is to insert n number of rows between the heading (Row 5) and the totals (Row 6) so that the formatting is presevered and the recordset is copied between the headings and the totals row.
I recorded a macro in Excel which after manipulation to suit my needs resulted in:
However the second line fails
MSKB doesn;t offer any solutions.
David
This is a rather simple task and I have done it before but cannot get it to work today and I do not have access to my server.
Basically I have a recordset that I am using CopyFromRecordset Rs functionality. However what I want to do is to insert n number of rows between the heading (Row 5) and the totals (Row 6) so that the formatting is presevered and the recordset is copied between the headings and the totals row.
I recorded a macro in Excel which after manipulation to suit my needs resulted in:
Code:
xlSheet.Rows("6:" & tCount + 6).Select
Selection.Insert Shift:=xlDown
Object doesn't suppport this property or method
MSKB doesn;t offer any solutions.
David