LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Macro to Format Multiple Sheets based on "Master" Format

Hello,
I have multiple sheets with data in table form. Each sheet has the same exact headers (headers are in the range A10:Z10) but the number of rows vary.

The formats for each column vary from General, Accounting, Number, Date etc, and may change in the future.

I am searching for a macro that can go into specific sheets and reformat the range of data in the columns based on the format of a specific range of cells.

I have a master range, on a sheet I named “Master”. In cells A1:Z1, Here is where I have set my formats.

The macro will apply only to the tabs between tabs that start with either a "J" or a "T"

It will then go to first sheet, find the range of data below the header (starting in A11 and going to Z??), and format the data based on the formatting of the range from the Master tab.
It would then apply a thin, solid border around the whole range and “dotted” borders within the range. (I am not sure how to describe the varying levels of borders, but it is the one directly below “None” on border selection).

It would also hide column H and column P

Once complete, it would move to the next sheet.

Any suggestions?
 
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
Format row based on conditional format of "Top Ten" in another cel Acanesfan Excel Discussion (Misc queries) 0 August 25th 08 03:34 AM
"Condition" format based on Font color Dan Excel Programming 0 June 20th 08 03:00 PM
Excel VBA to convert "dd.MM.yy" text to "dd/MM/yyyy" format date? Paul J[_2_] Excel Programming 4 July 11th 07 11:32 AM
Format a column wihtout using "Format-Cells-Number-category-etc" serve Excel Worksheet Functions 4 February 24th 06 12:54 AM
Cond Format & helper-cell based "duplicate rec" tricked by content Dennis Excel Discussion (Misc queries) 3 December 16th 05 06:55 PM


All times are GMT +1. The time now is 06:15 PM.

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"