+ Reply to Thread
Results 1 to 3 of 3

Runtime Error 1004 when trying to use a drop down box (data entry form)

  1. #1
    Registered User
    Join Date
    10-10-2017
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    2

    Runtime Error 1004 when trying to use a drop down box (data entry form)

    Hi guys,

    This is my first post on the forum, so I'd just like to say hi to everyone and thanks for having me, and thanks in advance to anyone who would like to help me.

    My friend has created a custom data entry form on Excel (I currently have an Office 365 sub and version 15.38 on my Mac OS High Sierra) however I am encountering issues when trying to select from a drop down box. The list doesn't appear and sometimes when I try to make a selection and add it, I get a VBA Runtime 1004 error.

    She has tested the data entry form on two other MACs and it works fine, so I am totally clueless as to why I am having issues on my machine. Does anyone have any ideas? Thank you.

    Cheers everyone,
    Nicky

  2. #2
    Registered User
    Join Date
    10-10-2017
    Location
    London, England
    MS-Off Ver
    MS Office 365
    Posts
    2

    Re: Runtime Error 1004 when trying to use a drop down box (data entry form)

    Here is a screenshot attached of the debug code

    Here is the code relating to this function:

    Please Login or Register  to view this content.
    Attached Images Attached Images

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Runtime Error 1004 when trying to use a drop down box (data entry form)

    Hi,

    If there's no data below A1 on the sheet, you would get that error because you are trying to refer to a cell below the last one on the sheet. Using End(xlDown) is rarely a good idea- it is better to start from the bottom and work up.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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. Pasteing from Clipboard Runtime error 1004: Paste method of worksheet class failed
    By Ozman89 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-12-2016, 03:29 PM
  2. Runtime error (1004) when trying to hide rows containing chart data
    By BacktoCode in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2016, 05:02 AM
  3. Runtime error 1004 when copying & pasting data to another sheet
    By luneke1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2014, 06:04 PM
  4. [SOLVED] HELP: Inserting a drop down box into a Data Entry Form
    By mwinter in forum Excel General
    Replies: 12
    Last Post: 12-18-2013, 03:32 PM
  5. Drop down menu in data entry form
    By yoosed in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-15-2013, 10:25 AM
  6. Replies: 0
    Last Post: 10-06-2011, 07:03 AM
  7. runtime error 1004 data base or list range not valid
    By jay11 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2010, 03:08 PM

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