Hello
I was hoping i might have some coding help with a macro that would:
1. read the content of the current cell (always text)
2. display a message/confirm box with that content, with a string appended to the end of it, and upon confirm of this -
3. define a name for the cell according to this string.
4. move the selection one to the right
so, if you had a cell with content "fooBar23", i would be great to have a macro that would read the content of the cell, display it to me in a confirm dialogue that would be 'define name for cell as "fooBar_extra"?' ...and upn confirm, define the cell name as that string (or on denial, exit w/o naming). selction would then move to the rigth so the macro could be fired off again
it would be great if this would be functional for a selected range too, not just a single cell, where the user is sure the outcome will be fine and wouldnt need the confirm dialogue for each and every cell.
basically, i have a whole lot of cell naming to do based off the content of those cells, but some of the cell's contents will make for poor names and so need to be handled differently from the rest.
Many Thanks,
Campbell.
I was hoping i might have some coding help with a macro that would:
1. read the content of the current cell (always text)
2. display a message/confirm box with that content, with a string appended to the end of it, and upon confirm of this -
3. define a name for the cell according to this string.
4. move the selection one to the right
so, if you had a cell with content "fooBar23", i would be great to have a macro that would read the content of the cell, display it to me in a confirm dialogue that would be 'define name for cell as "fooBar_extra"?' ...and upn confirm, define the cell name as that string (or on denial, exit w/o naming). selction would then move to the rigth so the macro could be fired off again
it would be great if this would be functional for a selected range too, not just a single cell, where the user is sure the outcome will be fine and wouldnt need the confirm dialogue for each and every cell.
basically, i have a whole lot of cell naming to do based off the content of those cells, but some of the cell's contents will make for poor names and so need to be handled differently from the rest.
Many Thanks,
Campbell.