Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Niek Otten
 
Posts: n/a
Default Need help with formatting a workbook

Please fix your system date

--
Kind regards,

Niek Otten

"Alistair Johnston" wrote in message
...
I need help writing a macro to format a worksheet. We have a text report
that is output from our system. We open the report in excel to format it
for printing. I want to select a cetain range that is variable with the
output. I think what needs to happen is a macro that searches for the
headers in the sheet. It then needs to find the end of the data. I guess
by finding the next empty cell after the data. It then would autofit the
columns, make it bold and justify left.
I recorded a macro that selects the whole sheet and then formats it how
I want but I would preffer the search method.

Thanks for any help

Alistair Johnston



  #2   Report Post  
Posted to microsoft.public.excel.misc
Michael
 
Posts: n/a
Default Need help with formatting a workbook

Hi Alistair. This article written by Frank Kabel & Bob Phillips may help.
You could possibly paste the code into your macro:
http://www.xldynamic.com/source/xld.LastValue.html
HTH
--
Sincerely, Michael Colvin


"Alistair Johnston" wrote:

I need help writing a macro to format a worksheet. We have a text report
that is output from our system. We open the report in excel to format it
for printing. I want to select a cetain range that is variable with the
output. I think what needs to happen is a macro that searches for the
headers in the sheet. It then needs to find the end of the data. I guess
by finding the next empty cell after the data. It then would autofit the
columns, make it bold and justify left.
I recorded a macro that selects the whole sheet and then formats it how
I want but I would preffer the search method.

Thanks for any help

Alistair Johnston

  #3   Report Post  
Posted to microsoft.public.excel.misc
Alistair Johnston
 
Posts: n/a
Default Need help with formatting a workbook

I need help writing a macro to format a worksheet. We have a text report
that is output from our system. We open the report in excel to format it
for printing. I want to select a cetain range that is variable with the
output. I think what needs to happen is a macro that searches for the
headers in the sheet. It then needs to find the end of the data. I guess
by finding the next empty cell after the data. It then would autofit the
columns, make it bold and justify left.
I recorded a macro that selects the whole sheet and then formats it how
I want but I would preffer the search method.

Thanks for any help

Alistair Johnston
  #4   Report Post  
Posted to microsoft.public.excel.misc
Michael
 
Posts: n/a
Default Need help with formatting a workbook

Your welcome. I hope it helps.
--
Sincerely, Michael Colvin


"Alistair Johnston" wrote:

Michael wrote:
Hi Alistair. This article written by Frank Kabel & Bob Phillips may help.
You could possibly paste the code into your macro:
http://www.xldynamic.com/source/xld.LastValue.html
HTH

Thanks for the link.

I will give it a go and see how I do.

ALi

  #5   Report Post  
Posted to microsoft.public.excel.misc
Alistair Johnston
 
Posts: n/a
Default Need help with formatting a workbook

Michael wrote:
Hi Alistair. This article written by Frank Kabel & Bob Phillips may help.
You could possibly paste the code into your macro:
http://www.xldynamic.com/source/xld.LastValue.html
HTH

Thanks for the link.

I will give it a go and see how I do.

ALi
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
HOW DO I SUM TWO CELLS FROM ONE WORKBOOK TO ANOTHER WORKBOOK? Bill O'Neal Excel Worksheet Functions 8 August 14th 09 11:36 PM
Pulling data from another workbook pdberger Excel Worksheet Functions 0 September 12th 05 05:54 PM
Unprotect Workbook Kent Excel Discussion (Misc queries) 1 February 4th 05 01:07 AM
Formatting all sheets in a workbook to print the same mreed46112 Excel Discussion (Misc queries) 2 February 2nd 05 11:53 PM
how do I keep a large workbook from losing all formatting upon cl. Tim C Setting up and Configuration of Excel 1 December 2nd 04 09:59 PM


All times are GMT +1. The time now is 01:55 PM.

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"