I created a small html page/string out of a datatable.
that part is fine.
however, I wanted to copy that as html so if someone opens outlook, word, excel etc.... I want to be able to paste into these programs and keep the format.
for example, if you are in excel and highlight a range, copy it to clipboard. when you paste into outlook it keeps the cells etc...
mine just pastes the raw html into the body
The only way this pastes correctly into excel is if i copy a "csv" formatted string. but that dosen't keep colors, alignmnet etc...
anyone know of a way to do this so it works universally?
and I mean without using the office PIA's because office apps were merely an example. I could be using wordpad or anything else.
that part is fine.
however, I wanted to copy that as html so if someone opens outlook, word, excel etc.... I want to be able to paste into these programs and keep the format.
for example, if you are in excel and highlight a range, copy it to clipboard. when you paste into outlook it keeps the cells etc...
mine just pastes the raw html into the body
The only way this pastes correctly into excel is if i copy a "csv" formatted string. but that dosen't keep colors, alignmnet etc...
anyone know of a way to do this so it works universally?
and I mean without using the office PIA's because office apps were merely an example. I could be using wordpad or anything else.