need two VBA Codes for attached

ayman helmy

New Member
Joined
Mar 17, 2021
Messages
16
Office Version
  1. 365
Platform
  1. Windows
need two codes for attached
-The first one makes a filter based on the data in cell u of the POS sheet
Knowing that the same values exist in the other sheets in column AX
Then it performs this filter in all the sheets based on these values
Then copy the data based on this filter from the N:R cells of the POS sheet
To each sheet separately, according to the filter, into K:O cells

-The second required code
The same filter should operate as in the first code
But this time the common factor is in column N in Sheet1
Then it copies the data in column A of Sheet1 to each sheets separately according to the filter to cell s
Then data from B to T for each sheet separately
Then the data from H to R for each sheet on its grandfather

1691106367481.png


1691106436925.png
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,215,425
Messages
6,124,824
Members
449,190
Latest member
rscraig11

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