Results 1 to 13 of 13

Refering to a cell reference based on a variable

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-31-2008
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    149

    Refering to a cell reference based on a variable

    Hi,

    I have defined Numrows as an integer.

    I want to use the following code :-

    Selection.AutoFill Destination:=Range("M6:M410")
    But rather than M410, I want the code to copy down to "numrows"

    How can I code this?

    Thanks in advance
    Last edited by bd528; 03-07-2010 at 04:59 AM.

Thread Information

Users Browsing this Thread

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

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