A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You can't get a UDF to move sheets like you would in regular macro.
Sheets("Part Data Entry").select
lastrow= Range("CalcLastRow").End(xlUp).Row
would not work
but this (from a UDF I use) would
lastrow = Sheets("Part Data Entry").Range("CalcLastRow").End(xlUp).Row
You can reference data on other sheets, you just have to specify the sheets and do a little more work to reference the correct data.
The key is to specify the sheet and range or cells you want to use.
Hope this helps, if you still have some questions providing some specifics on how you need to use the data would help.