VBA: Excel--> Handling with Multiple Pages

malik

New Member
Joined
Feb 7, 2004
Messages
2
Hi
I am using the Softartisans component to assign datasource programatically from front end tool (Delphi 6).

The program is very vague which belongs to the handling of mulitiple pages in Excel. I have 2 tasks to do in this regard.

1- Applying "BottomEdged Border" to a last row of following page on defined range.

Problem: I have put vba code in Excels Workbook open method, that actually targets HPageBreaks.Items location and sets the bottomedged line. But when the sheet opened, the required result doesn't
obtain. it seems that the relative positions of rows have been changed after save event is trigger.

Solution: I have done it through my front end tool after saving the workbook but i don't required this solution in all.

2- Taking the signature comments at bottom of last page only.
Problem: Again the program is same as above illustrated and these comments appears on different positions as the number of pages increase.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,207,392
Messages
6,078,223
Members
446,323
Latest member
fishezuk

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top