generate excel workbooks based on a template file

Hasan Mougharbel

New Member
Joined
Aug 16, 2022
Messages
1
Office Version
  1. 2007
Platform
  1. Windows
Hello guys,
I hope you are all doing well.
I have an excel workbook which is named (rawdata). This file contains order data with their associated items.
I want to extract each order number from raw data file, each order to be in a seperate workbook.
Each order is unique by the unique numbers of that order. The orders numbers is found in column A.
I want to extract only three columns ( Column A- name) (column C- lineitem SKU) & (column B-lineitem quantity) from (raw data) file.
The generated files should overwrite a specific file which is the template file. Or in other words, i want the extracted data be placed within a file that i choose( the reason for this is that a template may have formulas or specific data that is fixed for all orders)
I wish that i recieve the workbooks being named by the number of their order.

Please find attached the following images
First image is for raw data file
Second image is my desired generated workbook
third image is template file

Thanks a lot for helping me through this.
 

Attachments

  • rawdata.JPG
    rawdata.JPG
    101.2 KB · Views: 13
  • generated workbook.JPG
    generated workbook.JPG
    74.2 KB · Views: 13
  • template file.JPG
    template file.JPG
    53.4 KB · Views: 13

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: generate excel workbooks based on a template file
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top