Use TestComplete Working With Excel Files via COM to access your Excel data and store the values in TestComplete project variables, and access such project variables in tests.
You can also parameterize the NameMapping URL by accessing the Project variable as %Variable%.
TestComplete caches mapped objects. If the variable value is updated during the test run, TestComplete may not update the mapped object’s criteria, and your test will continue using the cached object. To avoid possible issues, add the RefreshMappingInfo method to your test to command TestComplete to clear the cache and search for the object with the updated mapping criteria.
If this resolves your scenario, marking it as the solution helps future readers find it quickly.