I\'m trying to copy paste numberic data from database to Excel. In the database the decimal separator is dot (.) and in my Excel the decimal separator is comma (,). Now when
I use Notepad++ for this task: copy your data to notepad++ replace the "." with "," and copy it to excel.
Microsoft advices to format cells as text and paste values after that:
https://support.office.com/en-us/article/stop-automatically-changing-numbers-to-dates-452bd2db-cc96-47d1-81e4-72cec11c4ed8
Yeah, this is a real pain sometimes - my quick solution is to use cells formatted as text.
Here is how it works:
.
.
with ,
You can put this in some macro of course.
However, I think there might - or at least should be - a better solution.
But as a quickie, this works too ;)
First mark the cells that you're going to paste to. Right click, "Format" and then select "Number".
Now right click to paste, and select "Match Destination Formatting"
Your text will now be pasted as numbers again :)