+ Reply to Thread
Results 1 to 3 of 3

Using Autofill with Destination Parameter as a Variable

  1. #1
    Forum Contributor
    Join Date
    04-11-2005
    Location
    London
    Posts
    259

    Using Autofill with Destination Parameter as a Variable

    Hi I'm having a bit of a problem with syntax here.

    Please Login or Register  to view this content.
    If I replace rng.AutoFill Destination:=Range(rng_AutoFill) with the commented out version rng.AutoFill Destination:=Range("A1:E36") it works fine. I can select the rng_AutoFill range, I don't seem to be able to use it with a variable name.

    Any comment gratefully appreciated.
    Martin Short

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606
    Try
    Please Login or Register  to view this content.
    since rng_AutoFill has already been set.

  3. #3
    Forum Contributor
    Join Date
    04-11-2005
    Location
    London
    Posts
    259
    Perfect. It works fine now.

    Thanks
    Martin

+ Reply to Thread

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