Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Dont know cellformat in vba

I got a sheet where i have to fint cells i column d that is empety. When i
try vith null, 0, "" not working. Its some strange format that ia dont know.
If i try to delite all formats its no help. Anyone who has a advise?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Dont know cellformat in vba

You don't say what you want to do when you find an empty cell but this may
get you started

Sub sonic()
lastrow = Cells(Rows.Count, "D").End(xlUp).Row
Set myrange = Range("D1:D" & lastrow)
For Each c In myrange
If IsEmpty(c) Then
MsgBox c.Address & " Is empty"
End If
Next
End Sub

Mike

"osinglad" wrote:

I got a sheet where i have to fint cells i column d that is empety. When i
try vith null, 0, "" not working. Its some strange format that ia dont know.
If i try to delite all formats its no help. Anyone who has a advise?

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
Excel: how to convert "27.11.2007 15:13" to number (cellformat fai dominico23 Excel Discussion (Misc queries) 2 December 11th 07 02:43 PM
CellFormat is lost when using CopyFromRecordset lucy Excel Programming 0 December 7th 06 03:16 PM
I dont want #N/A! KDD Excel Discussion (Misc queries) 12 December 1st 06 01:22 AM
Excel 2003 cellformat efter makrokörning Lars-Erik Excel Discussion (Misc queries) 3 May 11th 06 01:47 PM
Save Cellformat in a variable jj Excel Discussion (Misc queries) 0 January 17th 06 05:59 PM


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