VBA changing decimal to comma automaticaly
I have an Excel Macro in VBA. Yesterday everything worked fine, this morning VBA is taking a decimal point and changing the point to a comma. That is from 5.1 to 5,1. I am using a German system and have set in Excels advanced options that a point is a decimal and comma is thousands. For example I have a value for daily scrum meeting in the Excel sheet set at 3.75 Excel sheet input: when I use a function to read in the value such as: Sub TestFunction() MsgBox (Sheets("Input_Parameters").Cells(25, 2)) End Sub I get the value with commas. VBA function output: Is there a setting in the VBA