Thank you, this was that i was looking for. But how do i close the file. Beacuse after i run this code the excel file is still opened so i need to close it before i can open it to see how it looks. I have tried this code:
fvobj_Excel.Workbooks.Close and i think it's working, but i get message "Do you want to save file changes to the file Test.xls?". How can i choose to make changes without getting this messagebox?