I have a list of values in cells A1:A10.
I want to create a macro so that cell B1 will first contain the first value in the list, then the second value replace it, then the third, and so on. Once the entire list is run through, it should loop back to the first value again. The same sequence/order should run throughout.
If it impacts any of the code, I will likely end up using a button to run this code, so that each time the button is pressed the next item on the list takes over cell B1.
Is there any code that can be entered to help start the loop? When I run a macro all I get the same value repeatedly.
Thanks for any help!
I want to create a macro so that cell B1 will first contain the first value in the list, then the second value replace it, then the third, and so on. Once the entire list is run through, it should loop back to the first value again. The same sequence/order should run throughout.
If it impacts any of the code, I will likely end up using a button to run this code, so that each time the button is pressed the next item on the list takes over cell B1.
Is there any code that can be entered to help start the loop? When I run a macro all I get the same value repeatedly.
Thanks for any help!