Can anyone help me here? Am I missing something? Do I need a toolpack or a certain Option setting under Tools or something like that?
Sub Macro_3()
Sheets("Sheet1").Select
Range("BA5:BA2500").Select
Application.CutCopyMode = False
Selection.Copy
Range("BB3").Select
Sheets("Sheet2").Select
Range("D3").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Sheets("Sheet2").Select
Range("D3:D2510").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
End Sub
This is the code that I have been trying to get to work all day long and it won't work.....and please... if there is an error from the keyboard to the chair.... don't laugh too hard..... What I am trying to do.. is, take data from Sheet 1 in Column BA (BA3:BA???), copy it, paste it onto Sheet 2 Column D (D3:D????) and then delete the rows that have blank cells. But, this code is not working and I am getting very frustrated... cause this is the code that I have seen posted all over this ROCKIN board. The next option I guess would be to Autofilter the Column..... but I would prefer not letting this get the better of me....
Oh, and don't forget, I am still hoping someone can help me with my other problem posted earlier....
This message was edited by K_Man95 on 2002-08-27 18:43
Sub Macro_3()
Sheets("Sheet1").Select
Range("BA5:BA2500").Select
Application.CutCopyMode = False
Selection.Copy
Range("BB3").Select
Sheets("Sheet2").Select
Range("D3").Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Sheets("Sheet2").Select
Range("D3:D2510").SpecialCells(xlCellTypeBlanks).EntireRow.Delete
End Sub
This is the code that I have been trying to get to work all day long and it won't work.....and please... if there is an error from the keyboard to the chair.... don't laugh too hard..... What I am trying to do.. is, take data from Sheet 1 in Column BA (BA3:BA???), copy it, paste it onto Sheet 2 Column D (D3:D????) and then delete the rows that have blank cells. But, this code is not working and I am getting very frustrated... cause this is the code that I have seen posted all over this ROCKIN board. The next option I guess would be to Autofilter the Column..... but I would prefer not letting this get the better of me....
Oh, and don't forget, I am still hoping someone can help me with my other problem posted earlier....
This message was edited by K_Man95 on 2002-08-27 18:43