Forum Discussion
SuperUser20
Nov 09, 2021Copper Contributor
Accessing excel files using microsoft access
Hi I am trying to automate excel file using Microsoft access. I am using macros for that, but I am not able to get the required output. I have created one public function in microsoft access and no...
SuperUser20
Nov 10, 2021Copper Contributor
George HepworthI have checked and compiled but there is no error and no missing references is there.
George_Hepworth
Nov 10, 2021Silver Contributor
Where is the function located, in a standalone module or in the class module of a form?
If the latter, you'll need to add that form reference as part of the call to the function. Better to have it in a standalone module instead.
If the latter, you'll need to add that form reference as part of the call to the function. Better to have it in a standalone module instead.
- SuperUser20Nov 10, 2021Copper ContributorIt is storee in the stand alone module, not in the form module. Even then it is not executing and showing error.
- George_HepworthNov 12, 2021Silver ContributorThe problem appears to be in the way your macro tries to call the function then. SInce we've only seen the error message, maybe you can share the actual macro as well.
- SuperUser20Nov 16, 2021Copper Contributor
The actual macro is
I am using this function for fetching the data but not getting the required output