+ Reply to Thread
Results 1 to 2 of 2

Macro to format future spreadsheets

  1. #1
    Registered User
    Join Date
    02-24-2012
    Location
    St. Louis, Missouri, USA
    MS-Off Ver
    Excel 2002
    Posts
    4

    Macro to format future spreadsheets

    I print refund checks out of a practice management program and then export the information into Excel. At this point I need to condense the information that comes over because it will now be exported into a bank rec. On my attached file I have manually added columns B, D and E. I added column B because the exported information in column A reads "Check# 12345" and I need just the number in a number format. I added column D and used a Sumproduct formula because some check amounts in column C have multiple lines to equal the total check amount and I only need to see that total check amount. Column E then goes through and marks all of those "extra" lines on a check so I can delete them. I have a macro to do all of the above (still working on the delete part); my question is how to run this on new exported spreadsheets that have more (or less) rows. For example, my attached file has 49 rows. In my Sumproduct formula, I have referenced B2:B49. How does a future macro look when I have (for example) 958 rows?? My rows will ALWAYS vary from week to week.

    Thanks for any assistance!!
    Attached Files Attached Files
    Last edited by MCONWAY; 02-27-2012 at 12:31 PM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Macro to format future spreadsheets

    Hi mconway
    This is a different approach. See if this code in the attached does as you require. Let me know of issues.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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