Senin, 29 Mei 2017

[ExcelVBA] Find Replace of spaces

 

Hi all


I am struggling with a table imported into Excel from a web page.

It correctly formats as a table in terms of columns, but the numbers all have the format of [SPACE]122.500[SPACE], General formatting.


Find and replace of [SPACE] with nothing gives an error message.

Interestingly, =SUBSTITUTE(C1," ","") does not give an error message, but does not remove the spaces. If I test it by multiplying the result with 1, I get a #VALUE error, and the spaces are visually still there.


I can't test for TAB, as it has special functions in Excel. Try using it in a formula!


Any ideas?


Regards



Paul

__._,_.___

Posted by: paul.vermeulen@vulcantech.com.au
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------

.

__,_._,___

Tidak ada komentar:

Posting Komentar