Hi, I'm making a function that will change a person's name format from "Smith, John" to "John Smith" using the range.formula function
My code is below. It works, except it gets the age old problem of having absolute references (i.e. it only pulls from A5) I want it to be able to slide down. I want to be able to select an entire range in a single column (e.g. e5 to e10) and produce the new name format in these cells by taking the raw info from let's say column D (D5-D10). Later I can of course create a variable and ask the users for the desired offset. I am still learning the nuances of range versus select and all that. I could maybe figure it out eventually but don't have tons of free time at the office. Much appreciated for your support and help. I love learning coding and OOP and VBA is how I can learn it on work time!
The commented out line below is what I tried but didn't work. returned a #name error but no compile error or anything.
Please Login or Register to view this content.
THANKS!!!
Bookmarks