+ Reply to Thread
Results 1 to 3 of 3

Data validation list, autofill to last row

  1. #1
    Registered User
    Join Date
    04-18-2017
    Location
    NW,UK
    MS-Off Ver
    MS Office 2013
    Posts
    89

    Data validation list, autofill to last row

    Hello Forum

    I have the below code which works on it's own, but if i run the code from a button i get a runtime error1004 which i presume is where it tries to autofill the dropdownlists to the last row as it creates the data in cell I2


    Please Login or Register  to view this content.

    This code i also have to have in it's own sub for some unknown reason as when i put it with the rest of my code i get the same runtime error but with the message "autofill method of range class failed"
    Please Login or Register  to view this content.
    Thanks in advance

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Data validation list, autofill to last row

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    To upload a file click the Go Advanced button at the foot of your post, look underneath the post area for the Manage Attachments section and take it from there.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    04-15-2015
    Location
    beirut
    MS-Off Ver
    2010
    Posts
    107

    Re: Data validation list, autofill to last row

    Try this Macro
    Please Login or Register  to view this content.

+ 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: 04-12-2019, 07:18 AM
  2. Replies: 1
    Last Post: 01-14-2018, 11:04 AM
  3. Replies: 3
    Last Post: 06-04-2015, 02:27 PM
  4. Replies: 4
    Last Post: 08-14-2013, 09:14 PM
  5. Need a way to make selecting an item from a data validation list easier... like AutoFill?
    By Legend Rubber in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-05-2012, 02:28 PM
  6. Need help AutoFill-ing Validation List
    By DJBittner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2011, 06:20 PM
  7. Replies: 3
    Last Post: 04-11-2011, 05:52 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