![]() |
![]() |
|
|||||||
| 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: 5
|
I have a macro with:
"If ((Rows(y).Cells(3)) > 10) Then" and it works fine unless I try it on a spreadsheet with blanks in cell(3). then I get a "runtype error 13 . type mismatch" How can I check for blanks and get rid of them before they cause this problem? |
|
|
|
|
|
#2 | |
|
Board Regular
Join Date: Apr 2002
Posts: 113
|
Quote:
If (isnumeric((Rows(y).Cells(3))) > 10) Then |
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Apr 2002
Posts: 113
|
Sorry, my mistake, should be:
If (isnumeric(Rows(y).Cells(3)) then If ((Rows(y).Cells(3)) > 10) Then |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|