473,385 Members | 1,521 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how do I insert a page break at each cost centre and a subtotal using VB

Cost Centre Ann Budget WTE Budget WTE Actual Apr May Jun
A58000 0 0.00 0.00 1,929.84 1,929.84 1,929.84
23,000 0.00 0.00 0.00 0.00 0.00
-219,232 0.00 0.00 0.00 0.00 0.00
0 0.00 1.00 6,575.87 6,575.87 6,575.87
78,888 1.00 0.00 0.00 0.00 0.00
0 0.00 0.00 2,324.40 2,324.40 2,324.40
27,881 0.50 0.00 0.00 0.00 0.00
0 0.00 1.00 0.00 0.00 0.00
0 0.00 1.00 3,222.21 3,219.55 3,219.55
38,679 1.00 0.00 0.00 0.00 0.00
54,740 1.00 0.00 0.00 0.00 0.00
0 0.00 0.00 0.00 0.00 0.00
A58100 0 0.00 0.00 0.00 6,032.24 3,016.12
0 0.00 0.00 1,027.25 -1,027.25 0.00
0 0.00 0.00 6,402.94 6,401.29 6,401.29
0 0.00 0.00 -1,041.68 -1,041.68 -1,041.68
Feb 15 '10 #1
2 1248
Guido Geurs
767 Expert 512MB
dear,

What is your question ??
What want you to do with the data???


br,
Feb 16 '10 #2
Hi,

Thanks for responding, what I would like to do is to insert a manual page break at each cost centre point, for which there are pages and pages of data. I could find this for pivot tables or to insert hbreaks etc but not just to say "at each cost centre insert a page break".

I would also like to insert subtotals at each cost centre using VBA rather than excel itself. I'm still learning so any help would be very much appreciated

Thanks

Jason
Feb 16 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Diane Yocom | last post by:
I realize this may not be the best place to post this, but I was at a loss as to where to go, so... I'm trying to merge two separate RTF files (created in Word) into one Word document. I'd like...
6
by: Karen Middleton | last post by:
In MS Access I can do in one SQL statement a update if exists else a insert. Assuming my source staging table is called - SOURCE and my target table is called - DEST and both of them have the...
10
by: Howard Martin | last post by:
I have a form at http://www.develop.check.com.au/hh/order.html where an extended sub-total and then a grand total is calculated as soon as a quantity is input by a user. I would like to be able to...
1
by: Rudy Ko | last post by:
Hi, All: I'm populating database records into a panel controls and want to render that panel into a HtmlTextWriter which will creating a word document. Do you know how to insert a page break...
1
by: Danny Ni | last post by:
Hi, Is it possible to enter a page break in a HTML document, when a HTML document is diplayed in browser and user click print, the browser takes control of paging . I would like the browse to...
1
by: James Wong | last post by:
Dear all, For some reason, I have to write my own code to print a document instead of using report writer. The source is an array with dynamic length. If one page is full, I have to insert a...
1
by: filip1150 | last post by:
I'm trying to find if there is any performance diference between explicitly using a sequence in the insert statement to generate values for a column and doing this in an insert trigger. I...
0
chumlyumly
by: chumlyumly | last post by:
Hello scripters - OS: Mac OSX Language: PHP w/ MySQL database I've created an insert page where a user inputs his info, which then goes to four different tables in a MySQL database. The...
4
osward
by: osward | last post by:
I had made a table colum sortable and paging the table, following are the code // Display Event List echo "<center>"._EVENTLIST."</center><br>"; $now = Date(Y-m-d); // sort table...
6
by: lenygold via DBMonster.com | last post by:
Hi everybody: What is the best way to I have 10 tables with similar INSERT requiremnts. INSERT INTO ACSB.VAATAFAE WITH AA(AA_TIN, AA_FILE_SOURCE_CD, .AA_TIN_TYP) AS ( SELECT AA_TIN,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.