• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Email exported to excel, values not getting trimmed

ThrottleWorks

Excel Ninja
Hi,

I have code which exports e-mail body to excel sheet.


I am deriving key words from e-mail body in a cell. For example, ‘ CQAM AAAQUE ‘. But when I try to trim this value, I am not able to do it.

I tried using Trim function as well as rng = trim(rng).

Can anyone please help me in this.
 
You need to first find out the character first. If above string is in A2 then if you apply following formula in an empty cell then what do you get?
=CODE(LEFT(A2,1))
 
Hi @Chihiro sir, thanks for the help. I am checking this and will revert with details.

Hi @shrivallabha , thanks for the help, I am getting 160 as result, I applied this formula in 11 rows, only in 2 rows, I get 32
 
Back
Top