A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
Thank you for the answer(s).
I am located in Belgium and I am using the local way of representing numbers : a comma (,) to separate decimals and a period (.) as digit grouping symbol. I have been using this setting without any problem for very long time.
The data in the column, where the filtering should be applied on, is in the correct format : number with 2 decimal digits. It was the result of a calculation. It is showing with the comma as separation.
The variable that I use WVNLG_Upper has also the correct formatted number (data type double and also the result of a calculation ) like you can see in the Watchlist of my macro during execution.
I also tried to use 15.53 in stead of 15,53 (I put this value manually there and I did not change any setting on my computer but then the value that I see in my Watchlist during execution of the macro has no decimal separation any more !! ). So this is even worse.
The problem starts when executing the AutoFilter statement : Excel is leaving out the decimal separation like you can see in the printscreen of the Custom AutoFilter screen.
Like I mentioned before : I stopped execution of the macro, I corrected the value in the Custom AutoFilter screen manually (putting 15,53 there) and the filtering was done correctly.