We are drafting an email using excel vba codes. In this the HTML body includes 4 lines data. If any of line is blank (no data) we dont require the field and line spacing. (we need to remove the particular line)
Sample data in source file in excel format
Company ID: 4545454
Company Name: ABCDE Ltd
Company Type: Private
Company Industry: Financial
In case if company Type is not listed in the source data, we need to remove the company type field with out line spacing. As of now the result showing one blank space if there is no data
Current result using our macro.
Company ID: 4545454
Company Name: ABCDE Ltd
(space)
Company Industry: Financial
We are looking for the following result (we need to remove the company type field with out line spacing)
Company ID: 4545454
Company Name: ABCDE Ltd
Company Industry: Financial
Thank in Advance,
Sajan
Sample data in source file in excel format
Company ID: 4545454
Company Name: ABCDE Ltd
Company Type: Private
Company Industry: Financial
In case if company Type is not listed in the source data, we need to remove the company type field with out line spacing. As of now the result showing one blank space if there is no data
Current result using our macro.
Company ID: 4545454
Company Name: ABCDE Ltd
(space)
Company Industry: Financial
We are looking for the following result (we need to remove the company type field with out line spacing)
Company ID: 4545454
Company Name: ABCDE Ltd
Company Industry: Financial
Thank in Advance,
Sajan