I want to ask, how about the code in writing VBA Excel like this.
Textbox1=Application.WorksheetFunction.Index(dataname, Application.WorksheetFunction.Match(SpinButton1.Value, indexdataname, 0), 3)
In simple formulas on sheets like
=INDEX(dataname,MATCH(number,indexdataname,0),3)
indexdataname? It is not defined. Same withdataname. Please show a minimal reproducible example.