Results 1 to 7 of 7

Problem with calculating

Threaded View

  1. #4
    Registered User
    Join Date
    10-25-2004
    Posts
    12
    Excellent, thanks for the tip. I thought it would be nice to clear the cell for the user but didn't realize that was causing the recalculation. One other question I have is if it's possible to declare more than one range in the code
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    
    Const WS_RANGE As String = "D9:O9"
    On Error Resume Next
    If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
    Application.ScreenUpdating = False
    frmChange.Show
    End If
    
    End Sub
    For example, is there a way to set the range as D9:09, D13:013, D15:015, etc, without creating a new sub for each?
    Last edited by Prometheus; 09-26-2005 at 01:52 PM.

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