Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default how do i make a macro that will select all those cells that are empty

I need to make macro that will select only those cells that have no
values in it. How do i do that?

For example: lets say the excel sheet has values in B4 and A9 and A22.
How would i make a macro that will select all other cells except those
three cells above.?


Regrds

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default how do i make a macro that will select all those cells that are empty

EditGo ToSpecial, Select Blanks.
If you need this in VBA, record a macro doing the above

--
Kind regards,

Niek Otten

"VB Script for Excel" wrote in message oups.com...
|I need to make macro that will select only those cells that have no
| values in it. How do i do that?
|
| For example: lets say the excel sheet has values in B4 and A9 and A22.
| How would i make a macro that will select all other cells except those
| three cells above.?
|
|
| Regrds
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default how do i make a macro that will select all those cells that are empty

ActiveSheet.UsedRange.SpecialCells(xlCellTypeBlank s).Select


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"VB Script for Excel" wrote in message
oups.com...
I need to make macro that will select only those cells that have no
values in it. How do i do that?

For example: lets say the excel sheet has values in B4 and A9 and A22.
How would i make a macro that will select all other cells except those
three cells above.?


Regrds



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 select cells with values only (not empty ones)? nick Excel Discussion (Misc queries) 4 December 20th 06 09:07 PM
How to select cells with values only (not empty ones)? nick Excel Discussion (Misc queries) 1 December 20th 06 06:03 PM
Select variably-sized range which contains empty cells Jean[_4_] Excel Programming 11 August 23rd 05 06:51 AM
macro to colour empty cells (cells not recognized as empty) Gerben Excel Programming 5 June 30th 05 03:29 PM
Macro to select non empty rows in a given range Mario Excel Programming 1 January 23rd 04 07:54 PM


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