Results 1 to 3 of 3

Range("A1").select doesn't work!

Threaded View

  1. #1
    Registered User
    Join Date
    04-21-2006
    Posts
    61

    Range("A1").select doesn't work!

    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
    Last edited by pianoman; 05-24-2006 at 09:54 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1