+ Reply to Thread
Results 1 to 2 of 2

[VBA] Indirect copy to dynamic worksheet

  1. #1
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Vietnam
    MS-Off Ver
    Excel 2010
    Posts
    382

    [VBA] Indirect copy to dynamic worksheet

    Hi,

    I am working on a way to copy data from my activeworksheet to an indirectly addressed worksheet + colum + row, according to cell data on my sheet. Problem is just that I cant seem to get it past the copy process...

    B1 is the sheet name
    D1 is the colum number
    D2 is the row number (which is always row 167).

    Please Login or Register  to view this content.
    Anyone who can help with that?

    Thank you,
    A2k

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: [VBA] Indirect copy to dynamic worksheet

    Hi, Armitage2k,

    you are setting your objects to the ActiveSheet not to the addressed one.

    Please Login or Register  to view this content.
    And I would set the Range for the starting cell in one trake instead of having to set it up again from a column and a row:
    Please Login or Register  to view this content.
    Maybe just try
    Please Login or Register  to view this content.
    for copying over just values or
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy indirect validation from one worksheet to another..!
    By Rhythm089 in forum Excel General
    Replies: 0
    Last Post: 07-13-2012, 01:01 AM
  2. [SOLVED] INDIRECT Function impact on Copy Worksheet
    By Max in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-06-2005, 04:05 AM
  3. INDIRECT Function impact on Copy Worksheet
    By BG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  4. INDIRECT Function impact on Copy Worksheet
    By BG in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  5. INDIRECT Function impact on Copy Worksheet
    By BG in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2005, 11:05 PM

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