Hi. I have a column that it populated with "JoeBob.xls". I'm looking for the best way to remove the".xls" from the string so that the final variable returns "JoeBob"
Hi. I have a column that it populated with "JoeBob.xls". I'm looking for the best way to remove the".xls" from the string so that the final variable returns "JoeBob"
Hi,
Select the column then Data > text to Columns > delimiter > other and enter a .
Then deleted the columns with xls
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
I'm trying to do this in the macro code itself. so that strOne="JoeBob.xls" and strTwo="JoeBob" and I still can use both variables. Ideally, I need to remove the last four charcters from the string.
ska![]()
Please Login or Register to view this content.
Prehaps this. Select your range and run
VBA Noob![]()
Please Login or Register to view this content.
Thank you very much! This forum is very helpful.
Glad you found a solution
Thx for the feedback
VBA Noob
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks