Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-27-2015, 03:45 AM
Officer_Bierschnitt Officer_Bierschnitt is offline Error in macro "Ambiguous name detected" - but why?? Windows 7 64bit Error in macro "Ambiguous name detected" - but why?? Office 2013
Advanced Beginner
Error in macro "Ambiguous name detected" - but why??
 
Join Date: Oct 2015
Posts: 87
Officer_Bierschnitt is on a distinguished road
Default Error in macro "Ambiguous name detected" - but why??

Hi,



my issue is pretty simple:
In a macro, I have an error message "Ambiguous name detected".
I have looked up elsewhere what that message means and it's pretty clear, I'm using something that is already taken so to speak. The VBE also highlights the very word that causes the issue ...

<=> but that is a variable?! Aren't variables supposed to be populated and re-populated just as often as you need them to?

Can anybody help me there?

P.S.:
I can of course post the piece of the code where this happens, but it's not quite apparent to me how that would help. Still, if you need to see it, I can provide it.
Shortly speaking, I have a variable v_path1 (which is the term highlighted) which holds the filepath and a variable Dateiname which holds the file_name.
=> Then I have a formula
>> v_path_total = v_path1 & "\" & Dateiname <<
... and then I open the file like
>> Workbooks.Open Filename:=v_path_total, UpdateLinks:=False <<
That is basically all I'm doing.

Thanks a lot!

Best regards,

Officer_Bierschnitt
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: "Changes made were lost...reconnect with server", when switching "from" field randhurrle Outlook 2 02-25-2015 06:51 PM
remove repeated words with " macro " or " wild cards " in texts with parentheses and commas jocke321 Word VBA 2 12-10-2014 11:27 AM
Error in macro &quot;Ambiguous name detected&quot; - but why?? Setup Error "this language is not supported installing office 2007" Umsotho Office 4 03-19-2014 03:11 PM
Error in macro &quot;Ambiguous name detected&quot; - but why?? How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft