+ Reply to Thread
Results 1 to 5 of 5

Using Range in Worksheet_Calculate

  1. #1
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144

    Using Range in Worksheet_Calculate

    I cant seem to use RANGE in my worksheet function.
    The code works fine in a normal sub.
    Can anyone help?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Try changing

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.

    rylo

  3. #3
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144
    yea thanks that fixed it.

    Only problem now is it seems to be running twice for each row..

    In the attached worksheet it checks to see if B C & D are filled out, if they are N is set to YES which is what the code looks for. It then copies some data to the second sheet. When its done it removes the YES.

    (I have changed it to Worksheet_SelectionChange)
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Try this

    Please Login or Register  to view this content.
    rylo

  5. #5
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144
    Thats it, thanks buddy.

    I'd never heard of EnableEvents before, but it looks like it could be useful!


+ Reply to Thread

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