We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 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
Grumpy_Old_Duffer
Posts: 689 Forumite
in Techie Stuff
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'?
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!!!!
and it'll only take about another 100 years for mankind to really **** it up!!!!
0
Comments
-
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 If0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 352.5K Banking & Borrowing
- 253.7K Reduce Debt & Boost Income
- 454.5K Spending & Discounts
- 245.5K Work, Benefits & Business
- 601.5K Mortgages, Homes & Bills
- 177.6K Life & Family
- 259.5K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards