Results 1 to 3 of 3

VBA Errors

Threaded View

  1. #1
    Registered User
    Join Date
    03-04-2014
    Location
    Portsmouth, England
    MS-Off Ver
    Excel 2010
    Posts
    21

    VBA Errors

    Hi

    I have inhertited a workbook with VBA script already detailed out. I am adding the following code to populate my worksheet with my required formula once the report is run from our MIS

    Sheets("Analysis").Select
    Dim n As Integer
    n = ActiveSheet.Range("A1").End(xlDown).Row
    Range("a2").Select
    Selection.AutoFill Destination:=Range("a2:a" & n)

    Each time I try and run the report I get one of the following errors

    Error 1004 : Autofill method of range class failed
    Error 6 : overflow

    I am not familiar with VBA to fully understand where the problem lays. Attached is my worksheet. I am taking the information from our MIS which will be published in Student Data and pulling the information I want into my Analysis tab (where the formula is).

    Can anyone help?
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. #DIV/0! Errors?
    By Jamer in forum Excel - New Users/Basics
    Replies: 14
    Last Post: 01-06-2014, 11:05 AM
  2. Value errors
    By Notters in forum Excel General
    Replies: 2
    Last Post: 02-26-2010, 06:02 AM
  3. [SOLVED] Excel Throwing Circular Errors When No Errors Exist
    By MDW in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2006, 09:20 AM
  4. #DIV/0! Errors
    By Cindy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-30-2006, 12:35 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