Avatar of mrong
mrong
 asked on

VB script to skip a line

Greeting,

I have the following code in vb script(Excel) which massage the data. It puts a ';' between 2 cells and merge them together.

Workbooks("EC_OUT.xls").Sheets("Sheet1").Range("H" & m) = Workbooks("EC.xls").Sheets("Sheet1").Range("D" & m) & ";" & Workbooks("EC.xls").Sheets("Sheet1").Range("E" & m)

How to skip the line after';' the result should like the following
Workbooks("EC.xls").Sheets("Sheet1").Range("D" & m) & ";"
Workbooks("EC.xls").Sheets("Sheet1").Range("E" & m)


Thanks.
VB Script

Avatar of undefined
Last Comment
x-men

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
x-men

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.
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