+ Reply to Thread
Results 1 to 2 of 2

VBA Function to copy Row Array to destination Cell

  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.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Need Help in VBA Function

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

+ 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