![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 2
|
Hi Everyone:
After importing results from an Access 2K query, I'm looking for a method to change null-filled cells to 0 (zero). Does not matter if it's VB or macro -just as long as it work's! Thanks in advance. Mark Molnar |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,030
|
Hiya,
A simple way would be to copy a 0 in a cell, highlight the range of numeric data, then hit editpaste specialadd. Should do the trick. Adam |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,030
|
Oh,
That should work even if you have non-numeric data thrown in btw, Adam |
|
|
|
|
|
#4 |
|
New Member
Join Date: Apr 2002
Posts: 2
|
I should have added that the sheet I am working with has over 2,000 rows and about 50 columns. While I think "cut/paste" is a good solution, it would not be particularly efficient here since nulls are scattered randomly throughout the active range.
Thank you for the reply though. |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,030
|
Hey again,
Why not highlight the entire 50x2000 range when you paste? 0's will fill in the blanks and should not effect your existing entries. Adam |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|