+ Reply to Thread
Results 1 to 3 of 3

Trouble with Dynamic Range

  1. #1
    Registered User
    Join Date
    06-28-2007
    Posts
    27

    Trouble with Dynamic Range

    Hello All,

    I hope someone can help me out with this issue. I have hundreds of excel files from which I'm extracting data and copying on to a new worksheet.
    Each set of data is associated to a Project ID that I must copy to each row of data once it is copied. The set of data can range from 1 to presumably 65536 rows.

    I've written the code below thinking I had it, but my destination range gives me a runtime error of 438. I believe my syntax might be wrong but can't quite figure it out.

    Thanks in advance for the help.

    J.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Try changing

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    06-28-2007
    Posts
    27

    Thanks!

    Rylo,

    Thanks a lot! I think it was the "Type:=xlFillDefault" that was causing problems.

    Thanks again...

    J.

+ 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