+ Reply to Thread
Results 1 to 4 of 4

Run-time error '3001': argument are of the wrong type,are out of acceptable range, or are

  1. #1
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Run-time error '3001': argument are of the wrong type,are out of acceptable range, or are

    Here i am trying to update data here in to mysql but showing an Error Please help me out


    Please Login or Register  to view this content.
    Example: The table in Mysql like this i have Taken BMS_ID(Column) as Varchar (primary key)

    BMS_ID
    BMS10001
    BMS10002
    BMS10003
    BMS10004
    Last edited by baig123; 07-30-2014 at 03:11 AM. Reason: paragraph

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Run-time error '3001': argument are of the wrong type,are out of acceptable range, or

    Hi,

    Not sure if you will need to treat it as a string, so "BMS_ID='" & BMS_id & "'"
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Run-time error '3001': argument are of the wrong type,are out of acceptable range, or

    Again cross-posted here: http://www.mrexcel.com/forum/excel-q...e-another.html

    Your values are text so you need to enclose them in single quotes.
    Remember what the dormouse said
    Feed your head

  4. #4
    Forum Contributor
    Join Date
    03-01-2014
    Location
    Mysore
    MS-Off Ver
    Excel 2007
    Posts
    379

    Re: Run-time error '3001': argument are of the wrong type,are out of acceptable range, or

    Thanks For Sharing your knowledge
    Last edited by baig123; 07-30-2014 at 03:30 AM. Reason: paragraph

+ 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. Replies: 0
    Last Post: 07-24-2014, 03:35 AM
  2. Arguments are of the wrong type, are out of acceptable range, or are in conflict with
    By Rushdy Najath in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-16-2012, 11:25 AM
  3. Replies: 3
    Last Post: 04-28-2010, 05:54 PM
  4. Runtime Error '3001' Invalid Argument???
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-28-2008, 10:16 AM
  5. Error: Wrong number of argument or invalid property assignment?
    By Mike in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2006, 01:35 PM

Tags for this Thread

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