Declare Sub SOA_SetNextRowAttrs Lib "soa200.dll" (ByVal id%, ByVal row%, ByVal dytHeight%, ByVal uOutLev%) Declare Function SYD Lib "MSAFIN.DLL" (ByVal cost#, ByVal salvage#, ByVal life#, ByVal per#) As Double Declare Sub SetUserError Lib "MSABC200.DLL" (ByVal errcode As Integer)I don't know what are the new dlls in 97 and if they are used the same way,