garciausmc
New Member
- Joined
- Nov 20, 2013
- Messages
- 12
Hello. Requesting some VBA help here. I have data in one range in Sheet1 (say Range Q10:Q1000). I would like to copy only 6 digits from the string and paste it into a different range in Sheet2. Would be great if you could also help with only copying data if the cell is not blank. I understand I can use the Left function but I want to simplify it with a macro. Example string I am trying to extract the left 6 characters from: M2141032040001
I only want "M21410" to be copied from Sheet1 and Pasted into Sheet2.
Thanks!
I only want "M21410" to be copied from Sheet1 and Pasted into Sheet2.
Thanks!