ThomasArthur
New Member
- Joined
- Oct 28, 2006
- Messages
- 18
Hi
Just starting with VBA macros.
here is the part I'm having trouble with
============================
Sub SplitCust()
'
' SplitCust Macro
'
'
Windows("CDR Usage.xlsx").Activate
Range(Selection, Selection.End(xlToRight)).Select
Selection.Copy
Selection.End(xlDown).Select
Here is where I need to check if 2 cells down is blank or not blank, if blank run another macro,
if not finish down to Application.CutCopyMode = False line then loop back to Selection.Copy line above
Selection.End(xlDown).Select
Selection.Insert Shift:=xlDown
Application.CutCopyMode = False
End Sub
=============================
Any and All help appreciated.
Tom
Just starting with VBA macros.
here is the part I'm having trouble with
============================
Sub SplitCust()
'
' SplitCust Macro
'
'
Windows("CDR Usage.xlsx").Activate
Range(Selection, Selection.End(xlToRight)).Select
Selection.Copy
Selection.End(xlDown).Select
Here is where I need to check if 2 cells down is blank or not blank, if blank run another macro,
if not finish down to Application.CutCopyMode = False line then loop back to Selection.Copy line above
Selection.End(xlDown).Select
Selection.Insert Shift:=xlDown
Application.CutCopyMode = False
End Sub
=============================
Any and All help appreciated.
Tom