Ambiguous Name Detected Issue
I have written a script that is to call a shared module called "shmdl_Export_Project", which worked earlier today. I don't believe I changed anything other than some minor cosmetic changes. Plus I saved the shared module as a different name "shmdl_Export_Systems" as I wanted to use the same format, but change certain parameters and variables.
However, when trying to run my main script ("Import_Export_Project"), it won't run anymore, and I get a compile error "Ambiguous name detected: shmdl_Export_Project". Why? Could someone please explain how to fix this issue as I have a critical deadline WRT writing this script? If you could please respond as soon as possible, I would greatly appreciate it.
The calling line to the shared module is:
Call shmdl_Export_Project(strProjectName, strPathFolder & strExportFolder)
The shared module itself looks like this:
Public Sub shmdl_Export_Project(strNameProj As Variant, PathFolder As String)
Dim Project_Open As Boolean
Thanks very much in advance for your quick response.
Re: Ambiguous Name Detected Issue
It looks like you have 2 functions with the same name so the compiler does not know which one to call.
Try renaming the one you have in the Shared Module and see if that works.