Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Macro Fill Formula

Hello there im looking for a formula that will fill all blank cell from A1 to
AA1020 with "0" without affecting the blank cell properties i.e. filled
colors, sizes, etc. thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 257
Default Macro Fill Formula

You may already have understood this, palups, but no formula will fill OTHER
cells for you; it'll only affect the cell it's typed in. That's by design;
otherwise we'd all be capable of royally messing ourselves up.

If you have a large area that has a lot of formatting in it but no data,
then what you want is a way to copy 0 into the DATA of each cell without
affecting the FORMATTING that's already there. That's easy: Put a 0 in one
cell, then copy it, highlight the area you want to paste to (A1 to AA1020),
then hit not Paste but Paste Special from the same Edit menu. The Paste
Special window pops up; select Values and hit OK, and it'll copy JUST THE
VALUE into each cell, but not the formatting. Explore that Paste-Special
window; it has other useful capabilities too.

If you already have data in this large area, and don't want to start over,
the best you can do is create a quick macro to look at each cell in the area
and, if it doesn't already have data in it, put 0 into it. If you don't
already know how to do that, check in the Excel Programming forum.
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
Macro auto fill formula Erin Excel Worksheet Functions 4 May 22nd 09 01:04 PM
Fill formula down using macro Charles Excel Discussion (Misc queries) 2 November 13th 08 02:05 AM
Macro Formula for counting rows and doing a fill in afterwards Bud Excel Worksheet Functions 0 September 25th 08 08:10 PM
Macro or Custom button to fill in the same formula TJ Excel Worksheet Functions 4 March 15th 06 10:33 PM
Fill Formula - Macro Cathy U Excel Discussion (Misc queries) 2 February 22nd 05 04:48 PM


All times are GMT +1. The time now is 06:45 AM.

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"