Thank's for quick answers.
Dnereb, I tired your code and its working but not exactly what I wanted
cause I have data also columns B, C, D and A is empty. What I wanted to
delete all rows where is empty cell in column A. Using your code it
will remove totally empty rows but leaves rows where cell column A is
empty and there is data columns B

.
Norman, I got solution from your answer and made next macro:
Sub delete_EmptyRows()
Range("A1:A8000").Select
Selection.SpecialCells(xlCellTypeBlanks).Select
Selection.EntireRow.Delete
For I = 1 To 7
Range("A1").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Range("A1").Select
ActiveCell.Range("A1:A8000").Select
Selection.SpecialCells(xlCellTypeBlanks).Select
Selection.EntireRow.Delete
Next I
End Sub
Its working but slowly. Here is macro where I am using this code:
Sub laitereksiivous()
ChDir "C:\Documents and Settings\Rotator\Omat tiedostot\Unix"
Dim sFilename As String
' Showing director window
omaTiedosto = Application.GetOpenFilename("Text files,*.*", , "Select a
file")
If omaTiedosto = "False" Then Exit Sub
Application.ScreenUpdating = False
' Open select file, mark columns
Workbooks.OpenText Filename:= _
omaTiedosto, _
Origin:=xlMSDOS, StartRow:=1, DataType:=xlFixedWidth,
FieldInfo:=Array( _
Array(0, 1), Array(4, 9), Array(37, 2), Array(53, 2), Array(69,
2)), TrailingMinusNumbers:=True
' Replacing
Columns("A:A").Select
Selection.Replace What:="Rota", Replacement:="", LookAt:=xlWhole,
_
SearchOrder:=xlByRows, MatchCase:=True, SearchFormat:=False, _
ReplaceFormat:=False
Selection.Replace What:="As.N", Replacement:="", LookAt:=xlWhole,
_
SearchOrder:=xlByRows, MatchCase:=True, SearchFormat:=False, _
ReplaceFormat:=False
Selection.Replace What:="----", Replacement:="", LookAt:=xlWhole,
_
SearchOrder:=xlByRows, MatchCase:=True, SearchFormat:=False, _
ReplaceFormat:=False
Cells.Select
Application.CutCopyMode = False
Selection.Copy
Windows("Laiterekisterisiivous.xls").Activate
Range("A1").Select
ActiveSheet.Paste
Application.DisplayAlerts = False
ActiveWindow.ActivateNext
ActiveWindow.Close
Application.DisplayAlerts = True
Windows("Laiterekisterisiivous.xls").Activate
delete_EmptyRows
Range("A1").Select
Application.ScreenUpdating = True
End Sub
I am not expert for macros but I learnt myself lot of things during 10
years. That macro should be possible to make shorter if you are
expert.
Now I am starting to study Access cause I found new mission and it will
be more flexible to make it by Access.
Regards,
Maba