Avatar of rjef
rjef
Flag for United States of America asked on

I need a vbscript that will take the info in the clipboard and format it then put it back into the clipboard

i need a vbscipt that will look at the below data in the clipboard

BBBBBBLINE1BBBBBBB
BBBBBBLINE2BBBBBBB
BBBBBBLINE3BBBBBBB
BBBBBBLINE4BBBBBBB

and put the 5 characters starting at character 8 and put it in the clipboard with vbcrlf after each line

result
LINE1 & VBCRLF
LINE2& VBCRLF
LINE3& VBCRLF
LINE3& VBCRLF
i cannot install any additional programs.
Scripting LanguagesVB Script

Avatar of undefined
Last Comment
rjef

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
oferam

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
rjef

ASKER
it didn't work
oferam

What happened?

what did you get? VBScript might not be allowed to run.

You can uncommnet the msgbox lines and see where you "get".
rjef

ASKER
it worked if i say allow.  how do i turn that off?
1 then allow then 4 then 3 then 5
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
rjef

ASKER
thanks