+ Reply to Thread
Results 1 to 4 of 4

VBA Macros to Copy data from closed workbook specific range

  1. #1
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    900

    VBA Macros to Copy data from closed workbook specific range

    Hello Again,

    I am looking for a help in VBA Macros where I can copy a last cell values for specific/fixed range.

    I have 2 workbooks 1 is ClosedSheet and other one is Business.

    What I am looking here is, the script look for the last cell values available in range from B18 until B31 from column B and what the last valuable cell values (Not Blank) should be copies in Business worksheet cell J27 copy value from column A for same last cell values in column B.

    Example:
    If the last cell value is B19 in ClosedSheet then the script should copy B19 from ClosedSheet to Business sheet in J27 and copy A19 from ClosedSheet to Business sheet in J6.

    Below is my script which I am using now.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: VBA Macros to Copy data from closed workbook specific range

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 07-16-2016 at 02:03 PM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    900

    Re: VBA Macros to Copy data from closed workbook specific range

    Thanks alpha i will check and get back to u

  4. #4
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    900

    Re: VBA Macros to Copy data from closed workbook specific range

    Its works.
    Thanks once again.
    Topic marked as solves abd reputation added.

+ 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. How to copy range of data from closed workbook
    By fluffyvampirekitten in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2015, 12:08 AM
  2. [SOLVED] Copy range of data in Closed workbook with password
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-29-2015, 04:23 PM
  3. [SOLVED] Code to copy data from a closed workbook and paste in active workbook using named range.
    By paullie1912 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-28-2014, 02:38 AM
  4. Run Macro in closed workbook and copy specific coloumn in active workbook
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2013, 03:43 AM
  5. Macro to copy row to specific sheet in closed workbook
    By newbie-excel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-04-2013, 12:51 PM
  6. Get specific range from closed workbook depending on row value
    By minded in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2013, 06:21 AM
  7. [SOLVED] copy data from a closed workbook to a specific page in a new book
    By twiggywales in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2012, 10:35 AM

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