Hi,

I'm trying to make a macro to change the default text into "normal.dotm" but everytime i try to write in it, it somehow corrupt the "normal.dotm", as i can see without any modification the file is like 24 ko and when i try to write for exemple "test" into it using vba it end up with a size of like 1ko and when I try to open it says it's corrupted and it regenerate it...

Is there a special trick for .dotm files ?

Thanks in advance !

If you need my code i can copy paste it here but it's a basic write into a file code !

PS : I'm able to write into .txt file no problem with this code.