Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default reset my format cell properties

How can I reset my format cell properties back after I do a Sheet1.Cells.Clear?
I have each cell with a border outline and some cells I merge together. I
think I have to use the range object but Im not to sure how to do it.

--
thank You
gus chuchanis
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default reset my format cell properties

Since this is dependent on specifically which cells you want to format, the
easiest place to start is probably to begin with your blank worksheet, then
record a macro and walk through all of the formatting you need. Then you can
start with that recorded macro code and adjust it as needed (including
throwing in the sheet name, etc.). If you get stuck troubleshooting that
code, then copy/paste the relevant sections here with questions about the
troublesome areas. :)

HTH,
Keith
"Gus Chuch" wrote in message
...
How can I reset my format cell properties back after I do a
Sheet1.Cells.Clear?
I have each cell with a border outline and some cells I merge together. I
think I have to use the range object but I'm not to sure how to do it.

--
thank You
gus chuchanis



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,533
Default reset my format cell properties

Using Sheet1.Cells.ClearContents will preserve your formatting.

Regards

Per

"Gus Chuch" skrev i en meddelelse
...
How can I reset my format cell properties back after I do a
Sheet1.Cells.Clear?
I have each cell with a border outline and some cells I merge together. I
think I have to use the range object but I'm not to sure how to do it.

--
thank You
gus chuchanis



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default reset my format cell properties

That cheating!, but very cool. I didnt know you could do that.
thanks

--
thank You


"Keith R" wrote:

Since this is dependent on specifically which cells you want to format, the
easiest place to start is probably to begin with your blank worksheet, then
record a macro and walk through all of the formatting you need. Then you can
start with that recorded macro code and adjust it as needed (including
throwing in the sheet name, etc.). If you get stuck troubleshooting that
code, then copy/paste the relevant sections here with questions about the
troublesome areas. :)

HTH,
Keith
"Gus Chuch" wrote in message
...
How can I reset my format cell properties back after I do a
Sheet1.Cells.Clear?
I have each cell with a border outline and some cells I merge together. I
think I have to use the range object but I'm not to sure how to do it.

--
thank You
gus chuchanis




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
Can I reset the default cell alignment format to Left-Top? Bob.Almassy Excel Discussion (Misc queries) 1 June 26th 09 07:05 PM
How to reset incorrect date format after reinstalation of Window X ml Setting up and Configuration of Excel 3 May 7th 08 10:34 PM
Format a Userform Textbox Properties JoJoB Excel Programming 1 October 18th 07 04:38 PM
reset charting default format within a workbook compliance data Excel Worksheet Functions 2 December 18th 06 05:23 PM
Setting format properties when opening Worksheet Don Excel Worksheet Functions 1 December 12th 06 10:27 AM


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