I am trying to use the Trend function from the MS Excel 9.0 object library in a VBA module for use with MS Access. The function works fine when I use one-dimensional arrays for inputting the dependent and independent variables (simple regression), but I can't get it to work with a multi-dimensional array representing several independent variables. This function works with a multi-column range in a spreadsheet representing more than one independent variable, but I can' t seem to get it to work with a multi-dimensional array. Does anyone have any ideas on how I could use this function with more than one independent variable?