LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Selecting header rows with macro.

I would like to create a macro that selects certain "Columns" based on a
header name in an excel file. It would then copy all of that information
except the header into another existing excel file under different header
names. something like this:
In workbook 'A' I have 4 columns - "Name", "Description", "Price" and
"Quantity" I want to select all info under the headers "Name" and "Price" it
would then copy all of that information to workbook 'B'. Any info that was
under "Name" would go under the header "Item" and any info that was under
"Price" would go under the header "MSRP". I have no problem using macro to
copy from one workbook to the next, but I do have a problem selecting
multiple Columns because with the files that I get, the columns are not
always in the same place. If anyone has a solution to my problem I would be
very thankful. It would shave off 6 hours of tedious manual work so I could
focus on other projects.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting Rows with Macro jhahes Excel Programming 1 May 26th 05 08:06 PM
Macro selecting rows. Tom Excel Programming 5 October 6th 04 05:33 PM
selecting multiple rows within a Macro Tom Ogilvy Excel Programming 0 August 30th 03 01:08 AM
selecting multiple rows within a Macro Eric Dreshfield Excel Programming 0 August 29th 03 09:14 PM
selecting multiple rows within a Macro Jean-Paul Viel Excel Programming 0 August 29th 03 09:04 PM


All times are GMT +1. The time now is 08:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"