VBA to separate three tabs form master and paste existing data's in it as "values" (no link to master when separated)

nscaria00

New Member
Joined
Apr 21, 2023
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Good Morning,
I have a master excel document which has couple of tabs (shown in tabs to extract image). I am populating data's in three tabs (component, tools and logistics) from other tabs by using "=" function. But I need to extract these three documents before I send to customer.
I am looking for a VBA code to extract these three tabs from master and create another document (with these three tabs) and save with RFQ number from "Pre-review checklist" B1 cell.
In the extracted files, "=" function should not be there and the datas needs to show as values (i mean not linked any more to master file). Is it doable?
I can share the excel document if needs to.
Thanks,
 

Attachments

  • each tab has some formulas that's linked to other tabs in master excel document.JPG
    each tab has some formulas that's linked to other tabs in master excel document.JPG
    90.8 KB · Views: 23
  • Extract button and RFQ number.JPG
    Extract button and RFQ number.JPG
    44.8 KB · Views: 17
  • tabs to extract.JPG
    tabs to extract.JPG
    23.8 KB · Views: 22
That works well. Thank you so much. Just one more questions. If I need to keep Customer cells intact (meaning leave the formulas as such in the copied document as well similar to the ones we extracted from), is that possible? All the cells other than white and yellow color are Customer filled formulas. Attached image as example. I am sorry asking this.
Is it just that one sheet you want to keep formulas intact or all sheets?
 
Upvote 0

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
All three sheets. It has same color pattern. Other than white and yellow color, everything is Customer applied formulas.
Okay, I'll take a look at it this evening when I get home since I can't download the workbook here.
 
Upvote 0
Are there formulas in the green cells on the Logisitics tab? The other two tabs aren't going to be difficult to work, but the Logisitics tab could get messy if all the green cells are going to have formulas you want to keep.
 
Upvote 0
That's OK. I think it will get messy. I will work without formulas. Thank you so much for your help.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,215
Members
452,618
Latest member
Tam84

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