+ Reply to Thread
Results 1 to 3 of 3

Using variables in the Range function

  1. #1
    Registered User
    Join Date
    06-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2011
    Posts
    64

    Using variables in the Range function

    Hello, so here's my code so far the last line is the one that's giving me trouble. basically lets say endMatrix = the cell "K11" Then I want have "Range("A1:K11").PasteSpecial" -- I'm having trouble with using the variable "endMatrix" in the function though it has to be something with my Syntax because I've never quite gotten the hang of using variables in functions.

    Should be an easy fix? Thanks for the help!

    Please Login or Register  to view this content.

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Using variables in the Range function

    perhaps
    Please Login or Register  to view this content.
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    06-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2011
    Posts
    64

    Re: Using variables in the Range function

    Worked perfectly! Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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