View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_3_] Bob Phillips[_3_] is offline
external usenet poster
 
Posts: 2,420
Default Reading and writing to ini files in Excel 2007

What API method is that Rolf?

I use GetPrivateProfileString, WritePrivateProfileString, etc. They work
fine in 2007.

--
__________________________________
HTH

Bob

"Rolf Gustafsson" <Rolf wrote in
message ...
I have thousands of Excel VBA rows created in Excel 2003 which now must be
migrated to Excel 2007. My computer has Office 2007 Professional and Vista
Business whilst my client is just about to migrate to Office 2007 but will
keep Windows XP.
My present API code for reading and writing to ini files just does not
work
in Excel 2007. In fact, nothing happens.
I have spent a full day trying to find a solution on the web but without
success. My experience from Excel 2003 is that when writing to a
non-existing
.ini file it will be created in the C:\Windows folder. Can anyone give
useful
info about this?

It would be of great value to find a book/site or whatever info listing
all
the objects/methods etc that has to be changed when migrating from Office
2003 to 2007. Is there such an info anywhere?