Results 1 to 2 of 2

VBA Function to copy Row Array to destination Cell

Threaded View

  1. #1
    Registered User
    Join Date
    11-15-2008
    Location
    Mumbai
    Posts
    26

    VBA Function to copy Row Array to destination Cell

    Hi,

    I need a VBA function to copy the Row Array and paste it from given cell at offset value

    Suppose

    SourceArray= Range("A1:G1")
    DestCell = Range("D4")
    OffSetValue= Range("A3")

    Need a Function like

    CopyArray(SourceArray,DestCell,OffsetValue)

    So the Source Array should get printed from Dest Cell at offset value which is 3 ( as the value varies the array should move)



    ----------------------------------------------------------
    X A B C D E F G
    ----------------------------------------------------------
    1 2 4 6 0 0 0 0
    2 0 0 0 0 0 0 0
    3 3 0 0 0 0 0 0
    4 0 0 0 0 0 0 0
    5 0 0 0 2 4 6 0
    ----------------------------------------------------------
    Last edited by yogeshmaney; 03-05-2010 at 03:42 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