Hello all,
i need help with the following issue:
im using excel 2007,however,the spesific file is XLS (excel 2003).
got a table from A:K.
in columns A and J ,i got numbers which are formated as "General" and i want to keep it that way.
in some cases,the data has char(160) at the begining and i want to fix it.
now,i can use a function like TRIM(A1) or SUBSTITUTE($A1,CHAR(160),"")
but i want to use VBA .
another thing,
this sheet contains a pasword ("1234") ,so i want to assian a button and when i click it ,it will :
1.unlock the sheet with the password (1234)
2.remove from column A and J the char(160) or any space at the begining.
3.put a password again (1234).
thank u for helping.
i need help with the following issue:
im using excel 2007,however,the spesific file is XLS (excel 2003).
got a table from A:K.
in columns A and J ,i got numbers which are formated as "General" and i want to keep it that way.
in some cases,the data has char(160) at the begining and i want to fix it.
now,i can use a function like TRIM(A1) or SUBSTITUTE($A1,CHAR(160),"")
but i want to use VBA .
another thing,
this sheet contains a pasword ("1234") ,so i want to assian a button and when i click it ,it will :
1.unlock the sheet with the password (1234)
2.remove from column A and J the char(160) or any space at the begining.
3.put a password again (1234).
thank u for helping.