Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() This has got me stumped... the most basic of VB commands isn't working?! What am I doing wrong??? Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect(Target, Range("R2:R130")) Is Nothing Then Range(Target.Address).Select ActiveCell.EntireRow.Copy Sheets("Yearly Snapshots").Activate Range("A1").Select If IsEmpty(Range("A2")) = True Then Range("A2").Select Else Selection.End(xlDown).Offset(1, 0).Select End If ActiveSheet.Paste MsgBox "Now please Enter a new Annual Review Date" Sheets("Master Sheet").Activate Application.Run "dataform2.xla!ShowDataForm" End If End Sub Thanks Guys, Gareth -- pianoman ------------------------------------------------------------------------ pianoman's Profile: http://www.excelforum.com/member.php...o&userid=33712 View this thread: http://www.excelforum.com/showthread...hreadid=545061 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why doesn't 'Range("A65000").Select' work? | Excel Programming | |||
Excel macro convert to VBA - doesn't work, hangs on Range("Q35").Select | Excel Programming | |||
Using "Cells" to write "Range("A:A,H:H").Select" | Excel Programming | |||
This does not work: Range("A1").Select | Excel Programming | |||
Why doesn't "Workbook.Range("myrange").value" work? | Excel Programming |