Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Macro to format a sheet

I have data that is exported to Excel from another system. The data is not
formatted and I need to format it according to a code which is in a specific
Col. (Col G). The Code is something like this example TWP = Title, Font
Color White and Fill Color Purple. For a Title the format must be only in
the cell in Col A. Then for a Total the whole row (Col A to F) must be
formated in a font color and a fill Color depending on code.

I need to write macro commands to do this formatting for me but I don't know
how to write a loop in Excel to read all the rows of my spreadsheet until the
last row of data (no of rows can change) and format then according to the
code in Col G.

Can somebody help me?


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 to format sheet to show first box whilst tabbing across sheet Trish Excel Discussion (Misc queries) 3 August 22nd 07 07:02 PM
How do I format a sheet using a copy macro? Nimbus55 Excel Programming 1 April 1st 06 04:46 AM
can I clean old excel data format with macro on funny spread sheet Todd F.[_2_] Excel Programming 0 July 22nd 05 09:15 PM
How do I copy a print format from sheet to sheet in excel ? kernat Excel Discussion (Misc queries) 1 July 22nd 05 04:59 PM
Can a macro format a hidden sheet? Robert Excel Discussion (Misc queries) 1 February 9th 05 06:13 PM


All times are GMT +1. The time now is 12:31 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"