On any selected column using VBA I would like to select whatever is in column “A” and change it to CAPE.
Thanks!
Excel 2007
PC
On any selected column using VBA I would like to select whatever is in column “A” and change it to CAPE.
Thanks!
Excel 2007
PC
Will you be selecting 1 row or multiple rows?
Try using this code -
![]()
Please Login or Register to view this content.
So select any cell and run this code. The corresponding value from column A would be converted to upper case.
You can use a button or even a keyboard shortcut to run the macro. In the sample workbook attached I have assigned the macro to "Ctrl + Shift + C" key combination.
Excel Forum 1256.xlsm
Happy to Help
How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html
"I don't get things easily, so please be precise and elaborate"
If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.
Sourabh
As rightly asked by Fluff13, if you need to do the same for multiple row selection then use the following code-
Excel Forum 1257.xlsm![]()
Please Login or Register to view this content.
Hello gregfox,
Here you go;
Regards![]()
Please Login or Register to view this content.
Please consider:
Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .
Hi gregfox,
Or you could use;
![]()
Please Login or Register to view this content.
Mant thanks!
Hello gregfox,
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks