How to integrate User Defined Function with excel formula
Advertisements The following User Defined Function is referencing previous excel sheet. Function PrevSheet() Application.Volatile PrevSheet = Worksheets(ActiveSheet.Index – 1).Name End Function The following formula is okey. =Sheet1!A1 The following formula is NOT okey. The following formula needs to repaired. =PrevSheet()!A1 >Solution : Expansion on my comment to do this all in a UDF: Function PrevSheetVal(PrevSheetRow… Read More How to integrate User Defined Function with excel formula