AdamAnt
11-11-2011, 04:20 PM
Hey Guys,
First off, I am a complete newbie when it comes to VBA, so any comments/explanations of how chunks of codes word would be appreciated!
Right, on to my issue. I am trying to write a chunk of code that inserts a space into a string every X character, with X defined from a variable. I have Googled about a bit and tried to use my very limited knowledge of VBA to implement this but to no success. So far the code removes any original spaces in the text, and writes the new string into a variable, to be processed by a bit of the Subroutine. This is the bit I have no idea how to code.
Any Help Anyone?
Many Thanks,
-Adam
First off, I am a complete newbie when it comes to VBA, so any comments/explanations of how chunks of codes word would be appreciated!
Right, on to my issue. I am trying to write a chunk of code that inserts a space into a string every X character, with X defined from a variable. I have Googled about a bit and tried to use my very limited knowledge of VBA to implement this but to no success. So far the code removes any original spaces in the text, and writes the new string into a variable, to be processed by a bit of the Subroutine. This is the bit I have no idea how to code.
Any Help Anyone?
Many Thanks,
-Adam