📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Run Macro when Cell Input changes

Options
I have a Module macro called 'Sub Copy_Paste() and I want this to automatically operate everytime there is a new input made in any cell in the range Q5:U27 on a worksheet called "Updates", which I have given a named range to of "DataChanges".

What 'Private Sub' code do I need for the "Updates" Worksheet 'Module'?
It has taken about 4,500,000,000 (4.5 billion) years for the Earth to form as it is now .........
and it'll only take about another 100 years for mankind to really **** it up!!!!

Comments

  • spotter
    spotter Posts: 50 Forumite
    This should do it. Copy and paste the following code into the Worksheet_Change event of your Updates sheet:

    If Not Application.Intersect(Target, Range("DataChanges")) Is Nothing Then
    Copy_Paste
    End If
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 351.1K Banking & Borrowing
  • 253.2K Reduce Debt & Boost Income
  • 453.6K Spending & Discounts
  • 244.1K Work, Benefits & Business
  • 599.1K Mortgages, Homes & Bills
  • 177K Life & Family
  • 257.5K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.