+ Reply to Thread
Results 1 to 2 of 2

Repeating Macros w/in the same spreadsheet

  1. #1
    Registered User
    Join Date
    03-21-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    1

    Repeating Macros w/in the same spreadsheet

    I use a couple of software packages that will only allow me to export reports to Excel. The reports are in Crystal format. As a result each group of data will only have one header. I need to put the header on each line of the data so that I can perform additional analyses.

    I created a macro that would copy the header. However, the macro would only copy the header into the one specific group of cells that I used when I recorded the macro. (e.g. a13:a20) I was trying to get the macro to copy into all subsequent blank cells, using CTR End Down, then backing up one cell. (e.g. a13:a21 then change a21 to a20).

    I need to have the macro copy each different header onto subsequent lines of data. Do you have a better solution or a way to make this work?

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Repeating Macros w/in the same spreadsheet

    Hi S Larkin,

    Welcome to the forum.

    I believe Text To column feature can help here, could you post your one of your exported results here. Thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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