Hi
I have a workbook that is supposed to produce text-files and it has been working perfectly in a bunch of different computers until my colleague got a new Dell with XP and Office 2007.
The essential part of the macro is:
Sub Test()
Open “MyFile.txt” For Output as #1
---
Close 1
End Sub
Suddenly, on this computer only, the line creates the file "MyFile.EXE" and it doesn't make a difference what extension I have between the " ", it still ends up being an EXE.
Reinstalling the Office 2007 didn't help. neither does deleting the #
Has anyone else experienced this? Or has a good guess of the reason or solution?
Thanks
//Jörgen
I have a workbook that is supposed to produce text-files and it has been working perfectly in a bunch of different computers until my colleague got a new Dell with XP and Office 2007.
The essential part of the macro is:
Sub Test()
Open “MyFile.txt” For Output as #1
---
Close 1
End Sub
Suddenly, on this computer only, the line creates the file "MyFile.EXE" and it doesn't make a difference what extension I have between the " ", it still ends up being an EXE.
Reinstalling the Office 2007 didn't help. neither does deleting the #
Has anyone else experienced this? Or has a good guess of the reason or solution?
Thanks
//Jörgen