MrPink1986
Active Member
- Joined
- May 1, 2012
- Messages
- 252
Hi there,
I have created a simple macro to look to copy some data from one sheet to another however I have just noticed that the source data can actually fluctuate as to where it may be so my cell reference of going to AL9 and copy the data in AL9-AL500 is not ideal.
The header in AL9 (or shoud be) is "METHOD" how can I amend this to find that header and copy the data from this cell down.
I have created a simple macro to look to copy some data from one sheet to another however I have just noticed that the source data can actually fluctuate as to where it may be so my cell reference of going to AL9 and copy the data in AL9-AL500 is not ideal.
The header in AL9 (or shoud be) is "METHOD" how can I amend this to find that header and copy the data from this cell down.
Code:
Application.ScreenUpdating = False Sheets("Exception_Report").Select
Range("AL9").Select
Range(Selection, Selection.End(xlDown)).Select
Range("AL9:AL1500").Select
Selection.Copy
Sheets("Regional Runs Template").Select
Range("A12").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False