VB Maro for Excel

SPLRSPLR

New Member
Joined
Nov 11, 2019
Messages
2
Hi I am Preethi,


Please help me in VB Script

I have large excel file which I have to mail the particular line items to customers.
(for example)

Code Amt DZCustomer NameWPP CODEUTR NO/CHQ NOPayment DateInvoicesInvoice dateINVOICE VALUEDaysCD -1.5%CD 1%Total CD -1.5%Total CD -1%CN AmountNew Agg.N.DA- 9042PC- 9044Code Amt DZ
11840001400004124Indian Watch Distributors100088186CH-928676Thursday, March 28, 2019UP052000368407-03-19 121367.4321 1213.6715635.381416.4117051.7977510231.086820.72 27988242484197644372
Thursday, March 28, 2019UP052000366407-03-19 20273.6221 202.74
Thursday, March 28, 2019UP052000372613-03-1944001.6815660.03
Thursday, March 28, 2019UP052000372913-03-199733.1615146.00
Thursday, March 28, 2019UP052000372713-03-19138463.9152076.96
Thursday, March 28, 2019UP052000372813-03-19236072.71153541.09
Thursday, March 28, 2019UP052000373413-03-1918315.9615274.74
Thursday, March 28, 2019UP052000373013-03-197409.1915111.14
Thursday, March 28, 2019UP052000373113-03-1936263.7615543.96
Thursday, March 28, 2019UP052000373213-03-194939.461574.09
Thursday, March 28, 2019UP052000373313-03-19221976.88153329.65
Thursday, March 28, 2019UP052000373513-03-19221976.88153329.65
Thursday, March 28, 2019UP052000373613-03-1950736.715761.05
Thursday, March 28, 2019UP052000373713-03-1951739.1215776.09
Thursday, March 28, 2019UP052000389123-03-19729.55510.94
3820001400005676Balaji Electronics100088172CH-000781Monday, April 22, 2019HR012004694126-03-1959722.8627 597.23 3820.003820.007752292.001528.00 27996293524199253028
Monday, April 22, 2019HR012004695126-03-19172026.9727 1720.27
Monday, April 22, 2019HR012004693726-03-1943546.6627 435.47
Monday, April 22, 2019HR012004750928-03-1991219.0625 912.19
Monday, April 22, 2019HR012004891606-04-19 15484.4516 154.84
1150001400005086DOORS TECHNOLOGIES100093753CH-414778Friday, April 12, 2019HR012004054424-02-1933537.9347 401.65401.65775240.99160.66 27998951724199785258
Friday, April 12, 2019HR012004054524-02-1915341.5447
Friday, April 12, 2019HR012004157327-02-1925955.144
Friday, April 12, 2019HR012004506115-03-1911284.128 112.84
Friday, April 12, 2019HR012004524515-03-1928881.3328 288.81
8210001400005582DOORS TECHNOLOGIES100093753CH-414777Tuesday, April 16, 2019HR012004524515-03-193562.5332 7462.497462.497754477.492985.00 27991901644198374746
Tuesday, April 16, 2019HR012004506515-03-1915941.2232
Tuesday, April 16, 2019HR012004506615-03-194933.3432
Tuesday, April 16, 2019HR012004506215-03-196314.1232
Tuesday, April 16, 2019HR012004530816-03-1943999.6631
Tuesday, April 16, 2019HR012004563119-03-19144307.8628 1443.08
Tuesday, April 16, 2019HR012004563219-03-1913318.6228 133.19
Tuesday, April 16, 2019HR012004563519-03-19393110.9628 3931.11
Tuesday, April 16, 2019HR012004564219-03-1919733.3828 197.33
Tuesday, April 16, 2019HR012004564519-03-1934214.3828 342.14
Tuesday, April 16, 2019HR012004564619-03-19141563.9328 1415.64
2720001400006410DOORS TECHNOLOGIES100093753CH-414746Tuesday, April 23, 2019HR012004688926-03-1956946.3228 569.46 2720.002720.007751632.001088.00 27997408204199475230
Tuesday, April 23, 2019HR012004689126-03-1933252.1928 332.52

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


Above data I need to send it for different respective customers from this file directly

Can you please help into this which will be more helpful me.

Thanks and Regards,
R Preethi
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
.
Preethi :

How many different customers will you be emailing each time ? Your example shows three ... will there usually be more ? How many ?

If there are usually more than say 12 different customers ... we need to determine how to include each customers' email address. Presently
the email addresses are not shown for each customer. If there will only be 12 or less each time you could easily enter the email address
manually. If you will be sending more than 12 emails ... being able to automate entering their addresses should be required.
 
Upvote 0
Yes
.
Preethi :

How many different customers will you be emailing each time ? Your example shows three ... will there usually be more ? How many ?

If there are usually more than say 12 different customers ... we need to determine how to include each customers' email address. Presently
the email addresses are not shown for each customer. If there will only be 12 or less each time you could easily enter the email address
manually. If you will be sending more than 12 emails ... being able to automate entering their addresses should be required.
 
Upvote 0

Forum statistics

Threads
1,214,863
Messages
6,121,978
Members
449,058
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top