+ Reply to Thread
Results 1 to 4 of 4

Copy dynamic range (Unusual File Name Format)

  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
    906

    Question Copy dynamic range (Unusual File Name Format)

    Hello Again

    Every day I have to make multiple provider statements of accounts which can be full year or partially period. I have a worksheet with named Statement (Final) with multiple statements with multiple years and multiple providers. I need to copy every period of every provider for every year and copy to a new worksheets within the same workbook. (Split Range until second blank row).

    The script should copy data starting with header for every range until before 2nd blank row. Add a new worksheet with name of the first cell value after header in column D followed by period from first cell value after header in column C and last cell value after header in each range.
    Example: ABC (Jan-Dec 2012) or JKL (Jun-Sep 2015)

    Copy of manual workout for an expected output is attached for your reference.
    Attached Files Attached Files

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Copy dynamic range (Unusual File Name Format)

    Hi hecgroups,
    try it
    Please Login or Register  to view this content.

  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
    906

    Re: Copy dynamic range (Unusual File Name Format)

    Hai Nilem,

    Thanks for your response and solution.

    But when I have tested on my original data, its is giving error as mentioned below.

    Please Login or Register  to view this content.
    I think the above error most probably due to exceeding the file name of the worksheets. I will be requesting to have below solution.

    1. Make a worksheets with the provider name only.
    2. Save that worksheets as workbook with the provider name with specified period in the same folder where the old workbook.

    Can it be possible.

  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
    906

    Re: Copy dynamic range (Unusual File Name Format)

    Topic marked as solve and reputation is 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. Need Unusual Report Format
    By michaelfairbairn in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-11-2018, 06:53 PM
  2. Unusual Date Format - need a fix
    By simon4amiee in forum Excel General
    Replies: 61
    Last Post: 01-08-2015, 11:00 AM
  3. [SOLVED] Converting unusual time format
    By essee in forum Excel General
    Replies: 23
    Last Post: 09-24-2012, 08:36 AM
  4. Counting for an unusual time format.
    By percyth1 in forum Excel General
    Replies: 5
    Last Post: 01-31-2012, 11:08 PM
  5. Unusual Number Format With DDE
    By gpercy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2008, 11:44 AM
  6. Text Import Unusual Format
    By rerhart in forum Excel General
    Replies: 2
    Last Post: 01-02-2007, 04:07 PM
  7. [SOLVED] Unusual data format
    By Salty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-03-2005, 08:45 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