VS wrong indenting
-
hello, my VS 2005 (SP1) is quite terrible. It does indenting wrong. When I remove the indent, it dosent matter.. after i leave the line it outends it again. Heres an example If CheckUStIDIsEqual(gKundeStNrLandKnz, gEndkundeLand) Then UStIDFromCompany = UStIDFromCompanyVar(1) _WhoPaysEUST = PERSONENUM.Customer _EUDreickesgeschaeft = False _INCOTERMSVendorCompany = INCOTERMSENUM.EXW _INCOTERMSCompanyCustomer = INCOTERMSENUM.DDU _INCOTERMSCustomerEndcustomer = INCOTERMSENUM.DDP _MovedShipment = MOVEDSHIPMENTENUM.CompanyCustomer Proccuration = False AddActivityNumber = "_DE_DE_EUKSE" _DEEinfuhr = False _EUVerzollung = False IntraCommunityDelivery = True Database.Commit() Return PERSPEKTIV_ERRORS_REIHENGESCHAEFT.OK Else If CheckUStIDIsAvailable(gEndkundeStNr) Then AddActivityNumber = "_DE_DE_EUESAKSD" Else AddActivityNumber = "_DE_DE_EUKSD" End If UStIDFromCompany = UStIDFromCompanyVar(1) _WhoPaysEUST = PERSONENUM.Customer _EUDreickesgeschaeft = False _INCOTERMSVendorCompany = INCOTERMSENUM.EXW _INCOTERMSCompanyCustomer = INCOTERMSENUM.DDU _INCOTERMSCustomerEndcustomer = INCOTERMSENUM.DDP _MovedShipment = MOVEDSHIPMENTENUM.CompanyCustomer Proccuration = False _DEEinfuhr = False _EUVerzollung = False IntraCommunityDelivery = False Database.Commit() Return PERSPEKTIV_ERRORS_REIHENGESCHAEFT.OK End If thx for answers and a happy new year wishes Jerry