Dear Sir,

In the following procedure, the compiler displays this error message
Wrong number of arguments or invalid property assignment

and the offending line is
.Value = Format(b, "####") + "-" + Format(c, "00")
the compiler stops on word Format in above line

PHP Code: 
Sub TOTALS()
    
Dim a As LongAs LongAs LongFMI As LongFM2 As LongFM3     As LongFM4 As LongFM5 As LongiLastRow As Long
   
    a 
26240
    b 
Int(40)
    
40        
   
    With Me
.TextBox11
            
.Value Format(b"####") + "-" Format(c"00")
    
End With
End sub