|
thx very useful ! |
|
cliff : i have the VBA scripts (usually update) in the cells of excel.I need to copy and paste the range of cell into the module.Do you have any VBA scripts that can have a fast way? Thank you very much! Programming The VBA Editor http://www.cpearson.com/excel/vbe.aspx ---> Adding A Procedure To A Module
|
|
|
Thx very useful! I want to ask one question If each row in excel for one email, I want to set column H to column K as the email body, how can i set the range and use the function of RangetoHTML My code is here can u give me some idea how to write Sub email() Set OutApp = CreateObject("Outlook.Application") For Each cell In Columns("C").Cells.SpecialCells(xlCellTypeConstants) Set OutMail = Nothing End Sub Function RangetoHTML(rng As Range) |
|
|
|
|
How to set the text format (Bold and underline) in email body to a particular cells (Cell J only) ? some suggests the function to me but dunno how to merge the function into the vba code the vba code is below: Sub email() For Each cell In Columns("C").Cells.SpecialCells(xlCellTypeConstants) For Each FileCell In rng.SpecialCells(xlCellTypeConstants) Set OutMail = Nothing End Sub Function RangetoHTML(rng As Range) |
|
