+ Reply to Thread
Results 1 to 5 of 5

Problems with autofilling formula down the active column to the end row using active cell

  1. #1
    Registered User
    Join Date
    11-08-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    7

    Problems with autofilling formula down the active column to the end row using active cell

    Hi
    I am new to vb. and would appreciate some help.
    I am trying to copy a formula down the active column to the last row. But i cannot get it to work. I get the column set as cl as column 3 which is correct and the endrow as 119 which is correct but it does not move forward and I get a method range on object as global failed. Can anyone help?

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Problems with autofilling formula down the active column to the end row using active c

    You never change the active cell so the formula is going to go in the same cell over and over.

    It isn't really clear where you want the formula to go or how many rows to copy it down but give this a try.
    Please Login or Register  to view this content.
    Last edited by Norie; 11-27-2013 at 09:27 AM.
    If posting code please use code tags, see here.

  3. #3
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Problems with autofilling formula down the active column to the end row using active c

    You are attempting to put a Range, isStr, into a formula. Perhaps you want isStr.Address instead??
    Gary's Student

  4. #4
    Registered User
    Join Date
    11-08-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Problems with autofilling formula down the active column to the end row using active c

    Thank you, that makes sense. I need it to offset the formula down the column until the endrow then go back to the first cell in next column and loop again. Thank you i will have a play.

  5. #5
    Registered User
    Join Date
    11-08-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Problems with autofilling formula down the active column to the end row using active c

    Thank you that worked on the isStr i will sort the code and post once fixed. Thank you for your help.

+ 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. Highlight Active Row macro, and Bold the Active Cell
    By StudentTeacher in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-08-2013, 07:43 PM
  2. Replies: 2
    Last Post: 12-23-2012, 09:26 AM
  3. VBA to edit active cell formula row/column values
    By yoshi_5 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2012, 11:18 PM
  4. Replies: 2
    Last Post: 05-03-2006, 11:50 AM
  5. how can I return the active row and active column?
    By Greg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2005, 04:06 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