+ Reply to Thread
Results 1 to 6 of 6

VBA Select Dynamic Range

  1. #1
    Registered User
    Join Date
    11-17-2010
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    19

    VBA Select Dynamic Range

    Hi All,

    Can you please show me how to edit the following code below to pick a dynamic range from a fixed cell e.g. "B2". This is copying data from a workbook “Project” to another workbook “Comply”.

    My data range will change in row lengths but columns are always fixed e.g. fixed from column B to E AND will always start at column “B2”.

    Can I please have a code that only picks a range offsetting from “B2” to the last cell before the blank cell in column B.

    This data is then pasted onto workbook “Comply” active sheet cell F2.


    My code is as follows:

    Please Login or Register  to view this content.
    Last edited by Laylow; 03-31-2011 at 08:53 AM. Reason: add code tags

  2. #2
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: VBA Select Dynamic Range

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-17-2010
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: VBA Select Dynamic Range

    Dear Pike,

    Apologise for that.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    11-17-2010
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: VBA Select Dynamic Range

    Dear Sadath31,

    Thanks for the Magic.

    Regards

    Laylow

  5. #5
    Forum Contributor
    Join Date
    11-04-2011
    Location
    pak
    MS-Off Ver
    Excel 2007
    Posts
    132

    Re: VBA Select Dynamic Range

    great script thanks for sharing. wonderful

  6. #6
    Forum Contributor
    Join Date
    11-04-2011
    Location
    pak
    MS-Off Ver
    Excel 2007
    Posts
    132

    Re: VBA Select Dynamic Range

    great script thanks for sharing. wonderful

+ 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