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

I have a report that comes from our accounting system which it cant format
correctly, the report is split horizontally by cost centre. Like below

1041145 AgencyCharges

No Date Amount Text
data here€¦€¦€¦€¦€¦€¦€¦€¦€¦.

Transaction Summary
Totals not listed
YTD Summary

1041165 Electricity

No Date Amount Text
data here€¦€¦€¦€¦€¦€¦€¦€¦€¦.

Transaction Summary
Totals not listed
YTD Summary


The actual format of the report is not this well set up but I can pull it
into excel in this format. The problem I have encountered when trying to
format this with a macro is that the could be any number of transactions
between the heading row and the transaction summary row so I have not been
able to split this report just by row numbers.

The report eventually needs to be formatted with a row for every transaction
ie
CC Code CC Name No Date Amount Text
data here€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦ €¦€¦€¦€¦€¦€¦..

I was thinking about copying each CC details onto its own sheet and then
formatting it there as I thought this would be easier to do€¦.I have detailed
how I think the code should work below but I am having trouble writing the
code.

Could anyone give me a hand writing the code below or could anyone suggest
another approach to my problem?

What I want to code to do.

Check Column A to see if it contains a value.

Keep Checking Column A until it finds another Value

Cut from First Value in Column A to Row above Second Value in column A

Paste onto New Sheet


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
Getting missing data from one report into another report... vlookupabyss Excel Discussion (Misc queries) 3 January 8th 08 03:26 PM
Print Report W/Sub Report Roger Excel Discussion (Misc queries) 0 September 6th 06 10:53 PM
Automate Excel report to place certain data into existing report? Craig Harrison Excel Worksheet Functions 3 July 25th 06 01:54 PM
Header in Report Manager Report Steve K Excel Discussion (Misc queries) 0 March 7th 06 07:32 PM
=(IF(ISTEXT('Data Report'!$L2:$L4),'Data Report'!N3,J11)) Response s2frost Excel Discussion (Misc queries) 2 June 25th 05 06:07 PM


All times are GMT +1. The time now is 02:18 AM.

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

About Us

"It's about Microsoft Excel"