Hello, I'm new here but have been using excel to manipulate data for many years.
I am trying to learn macros and VB code and have followed the instructions from an old thread (Thread: Copy data from one sheet to another based on Drop-Down box selection) but haven't been able to get it to work.
I have a list of locations on my 'Climate data' sheet and data on another sheet 'climate zones'. I am trying to get a range of data to be copied from 'climate zones' to the 'climate data' sheet depending on the location chosen from the drop down list. When i run the code i get a 'Run-time error 9 Subscript out of range' - the Target.value recognizes the change in the list location but keeps giving me an error. I have gone through the code and checked that all the ranges are correct but obviously i'm missing something.
Please help
Thanks
I am trying to learn macros and VB code and have followed the instructions from an old thread (Thread: Copy data from one sheet to another based on Drop-Down box selection) but haven't been able to get it to work.
I have a list of locations on my 'Climate data' sheet and data on another sheet 'climate zones'. I am trying to get a range of data to be copied from 'climate zones' to the 'climate data' sheet depending on the location chosen from the drop down list. When i run the code i get a 'Run-time error 9 Subscript out of range' - the Target.value recognizes the change in the list location but keeps giving me an error. I have gone through the code and checked that all the ranges are correct but obviously i'm missing something.
Please help
Thanks