With regards to your function:
Did you place it in a standard module (not an object module, not a class module)?
Did you declare it as Public?
Did you declare it as a Function, not a Sub?
Does your code compile?
Why not supply us with a sample database to review?
As for the rest, you will face a serious problem at one point trying to develop using Office 365 and then bringing it to your office running 2010. You always need to do all your development using the oldest version that will be used to run your database.
In your case, you should do all your development in 2010.
I must say i don't understand what your IT department can do to references. They can block the most fundamental built-in references from working, otherwise Access wouldn't work at all. Beyond which the are numerous times that require no special references
to run.