the files are originaly .txt files which are imported into the sheet with the application.GetOpenFileName.
this file contains callibration data for a certain machine it looks like this
the user is allowed to select multiple files which are all imported in 1 excel sheet.
using the following code
following that is a bunch of code to automaticly sort the data to date and format the area. then comes the code to replace the . with , which was mentioned earlier.
the data is imported each on a different column, on the next sheet calculations are done on all the values in each column.
but when using the replace macro the values are not used in the graph or formula, but if i leave out the replacement from the macro and replace . with , using the CTRL+H command everything works fine
edit:
i copied the code from a different forum and seemed to do the job fine. but after inspecting i think it might have something to do with this line
Bookmarks