Hello,
I'm having a problem with excel.
I am creating a macro to turn a report given by SAP readable.
The thing is SAP gives me quantities in this format: 3.600,000. I am working in a french computer with french settings and the "." is not recognized as a thousands mark.
When I change the "." for nothing ("") with a simple ctrl+F it works perfectly and it gives me 3600 which is the value that I need.
When I run the macro:
Selection.Replace What:=".", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
It not only changes the . for "" but also the "," which is really annoying because now I get
3 600 000. (freaking millions and I need thousands)
I don't know what the mistake can be.
Help pleaseeee
I'm having a problem with excel.
I am creating a macro to turn a report given by SAP readable.
The thing is SAP gives me quantities in this format: 3.600,000. I am working in a french computer with french settings and the "." is not recognized as a thousands mark.
When I change the "." for nothing ("") with a simple ctrl+F it works perfectly and it gives me 3600 which is the value that I need.
When I run the macro:
Selection.Replace What:=".", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
It not only changes the . for "" but also the "," which is really annoying because now I get
3 600 000. (freaking millions and I need thousands)
I don't know what the mistake can be.
Help pleaseeee