+ Reply to Thread
Results 1 to 10 of 10

Worksheet Change Event Is very Slow To work copy formula and paste

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Worksheet Change Event Is very Slow To work copy formula and paste

    hi,
    i am using below code to copy and paste data using Worksheet Change Event
    Please Sort Out why this code is very slow to work in my pc
    thank you

    Please Login or Register  to view this content.
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Worksheet Change Event Is very Slow To work copy formula and paste

    Does this help?
    Please Login or Register  to view this content.
    You have been modifying code for a long time. I am sure you are already familiar with this trick. Why do you not try it yourself?
    Please Login or Register  to view this content.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Worksheet Change Event Is very Slow To work copy formula and paste

    You are copying and pasting these ranges:
    A11:E11
    I11:Y11
    AB11:AI1

    If only values (not formats) required then those values can be attributed instead of being copied with:
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Re: Worksheet Change Event Is very Slow To work copy formula and paste

    Quote Originally Posted by kev_ View Post
    You are copying and pasting these ranges:
    A11:E11
    I11:Y11
    AB11:AI1

    If only values (not formats) required then those values can be attributed instead of being copied with:
    Please Login or Register  to view this content.
    HI, KEV

    Thank you for the reply

    I am copying formulas so i think this trick will not help

  5. #5
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Re: Worksheet Change Event Is very Slow To work copy formula and paste

    Thank you kev

    Please Login or Register  to view this content.
    now code is working better then previous

  6. #6
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Re: Worksheet Change Event Is very Slow To work copy formula and paste

    i have one question
    i want if (Target, Range("F11:F1000").Value = Greater Then 0 Then Apply this code otherwise exit

    Please Login or Register  to view this content.

  7. #7
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Worksheet Change Event Is very Slow To work copy formula and paste

    replace:
    Please Login or Register  to view this content.
    with:
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Re: Worksheet Change Event Is very Slow To work copy formula and paste

    sorry for the wrong info
    that was not range f10:f1000, that is range e10:e1000
    i want if (target,range("e10:e1000")).value > then exit sub

  9. #9
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Worksheet Change Event Is very Slow To work copy formula and paste

    i want if (target,range("e10:e1000")).value > then exit sub
    So are you saying: when I change cell F20, check cell E20 - if E20 is greater than 0 then exit sub ?

    If you are, then
    replace:
    Please Login or Register  to view this content.
    with:
    Please Login or Register  to view this content.

  10. #10
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Re: Worksheet Change Event Is very Slow To work copy formula and paste

    Perfect

    thank you kev

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Worksheet change event copy paste dont call a macro
    By ricklou in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2017, 04:26 PM
  2. need worksheet change event to fire when pasting; for all cells in paste range
    By ShoshanaM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-15-2012, 10:10 AM
  3. [SOLVED] Cannot paste to another worksheet in private sub change event
    By LouiseH24 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-10-2012, 06:58 AM
  4. Event change copy paste
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2010, 03:09 PM
  5. Worksheet change event doesn't work properly
    By ffandango in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-05-2009, 06:03 PM
  6. [SOLVED] Change event copy & paste
    By Mr. Dan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2006, 05:50 PM
  7. worksheet change event doesn't work
    By gig in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2005, 11:06 AM

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