Hi all,
Can somebody please fix a problem that has ailed me for more than a year!? I need a code designed that will ensure that all worksheets in a workbook will have even page numbers...
With this I was thinking a VBA code that will read the content of each worksheet and assign a page number to each page. If the last page number in any worksheet equated to an even page (e.g. 2, 4, 6, 8, 10 pages etc.) then nothing;
But if the last page number in any worksheet equated to an odd page (e.g. 1, 3, 5, 7, 9 pages etc.) then I would need the code to automatically go down to the next page in that particular worksheet and enter a random value like "make pages even".
Please comment if you know how to design any such VBA code because I am baffled.
Thanks people really appreciate the help,
Milos
Can somebody please fix a problem that has ailed me for more than a year!? I need a code designed that will ensure that all worksheets in a workbook will have even page numbers...
With this I was thinking a VBA code that will read the content of each worksheet and assign a page number to each page. If the last page number in any worksheet equated to an even page (e.g. 2, 4, 6, 8, 10 pages etc.) then nothing;
But if the last page number in any worksheet equated to an odd page (e.g. 1, 3, 5, 7, 9 pages etc.) then I would need the code to automatically go down to the next page in that particular worksheet and enter a random value like "make pages even".
Please comment if you know how to design any such VBA code because I am baffled.
Thanks people really appreciate the help,
Milos