+ Reply to Thread
Results 1 to 5 of 5

Having problems with the range!

  1. #1
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Having problems with the range!

    Hi,

    I have been trying to expand a bit of code that was written for me to copy a selection of cells from another sheet onto the end.

    I wanted to expand it so that it auto filled the date (weekdays) into the new cells also.

    However I am having problems with the range for the autofill...

    Please Login or Register  to view this content.
    My hope is to generalise the above code using "Previous row, Lastrow and Newrow"

    Thanks for any help!!
    Last edited by ARowbot; 03-18-2015 at 06:58 PM.

  2. #2
    Forum Contributor
    Join Date
    06-21-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Having problems with the range!

    Your range reference in red needs to refer to a worksheet first.

  3. #3
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Having problems with the range!

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Re: Having problems with the range!

    Ok, I have done that...Ideally the bit I want to change is:

    Please Login or Register  to view this content.
    to make it:

    Please Login or Register  to view this content.
    I am having trouble uploading an attachment at the moment...I am trying!
    Last edited by ARowbot; 03-18-2015 at 05:07 PM.

  5. #5
    Valued Forum Contributor
    Join Date
    11-12-2014
    Location
    Nottingham
    MS-Off Ver
    2013
    Posts
    383

    Re: Having problems with the range!

    I've managed to play around a bit and done it quite cheekily I think...
    Here is the code for anybody interested...

    Please Login or Register  to view this content.
    Thanks for the 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. Range Problems
    By jamesvw68 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-29-2009, 06:48 AM
  2. Range problems
    By jamesvw68 in forum Excel General
    Replies: 1
    Last Post: 09-28-2009, 09:26 AM
  3. Problems with Range
    By tneva in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-02-2009, 07:10 AM
  4. problems with a range
    By holybull in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-23-2007, 12:03 PM
  5. [SOLVED] Range problems...
    By Neil in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-24-2005, 03: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