+ Reply to Thread
Results 1 to 2 of 2

Compile Error : Ambiguous name detected

  1. #1
    Registered User
    Join Date
    10-17-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    1

    Post Compile Error : Ambiguous name detected

    Hi all,
    I don't know Excel VBA but still i am forced to write the script for a small task. I am writing this by referring books. I am facing compile error Ambiguous name detected. Please find my code as below : I am getting compile error in vasgrsval variable. Requesting you to help me on this regards.
    PHP Code: 
    [HTML] [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE][/HTML] 
    Thanks, Vasanth

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Compile Error : Ambiguous name detected

    In the top of declaration you have declared this variable Public vasgrsval As Integer twice. Just delete any of the one from your code...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA Compile Error: Ambiguous name detected
    By kieranoduill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2013, 05:31 PM
  2. [SOLVED] compile error ambiguous name detected!?
    By Margate in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2013, 08:49 PM
  3. [SOLVED] compile error ambiguous name detected
    By truman40 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-24-2010, 08:36 AM
  4. Compile error: Ambiguous name detected
    By Aletha in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-05-2008, 05:48 PM
  5. Compile Error: Ambiguous Name Detected: Workbook_Open
    By Gos-C in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-19-2008, 10:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1