Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Inserting rows

Hi All

I've got a spreadsheet which is copied from one sheet to another using
VBA, and now I want to format it a little but am struggling. Have
recorded it fine and it works, but if the lines change in the future,
I know this will muck it up. Being still quite a novice, please bear
with me if this seems like an easy question!

Column A Column B

Building 1 10
Building 2 10
Building 3 10
Geography etc...

What I would like to do is after building 3, insert 3 lines and a
total...this involves:

Selection.EntireRow.Insert 3 times and then specifying the range to
sum.

The spreadsheet I am working on is a little more complicated as it's a
long list of data with no spaces, and I want to insert lines and
totals at various points, but if I'm got something to work from, then
hopefully that will get me started.

I'm not sure if there is a way of using "If" "then", but I have not
had much joy, I'd appreciate any help that could be given on this!!!

thanks Guys.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
inserting rows inbetween rows of data ? Azeem Excel Discussion (Misc queries) 1 October 27th 09 07:38 AM
Copying & Inserting Rows w/o Affecting other Rows Etc. LRay67 Excel Worksheet Functions 1 October 22nd 08 02:10 AM
Inserting Blank rows after every row upto 2500 rows Manju Excel Worksheet Functions 8 August 22nd 06 12:54 PM
Why is inserting rows throwing off my hidden rows jgeniti[_2_] Excel Programming 4 March 9th 06 11:25 PM
Inserting multiple rows in excel with data in consecutive rows technotronic Excel Programming 2 October 20th 05 03:12 PM


All times are GMT +1. The time now is 01:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"