How to Find the word and copy paste the value in another sheet.please help

punnipah

Board Regular
Joined
Nov 3, 2021
Messages
134
Office Version
  1. 2019
Platform
  1. Windows
Sub DefineArea()
Dim oSht As Worksheet
Dim vL As Range, vE As Range
Set oSht = Sheets("Pivot")
For Each vL In Range("D6", Range("E" & Rows.Count).End(xlUp))
Select Case vL.Value
Case "Total Ertrag"
End Select
Range("E6").Select
'Next Step
'I would like to Copy data From Columns F-I and Paste another Work Sheet if the data the same '
Ex. Columns "E"

BC11>>Copy data to Another Work Sheet BC11
AS_ACT AS_AMT CL_ACT CL_AMT
794,673.52 1,392.00 687.00 359416.91

But the billing cycle information is not the same.

Next vL

End Sub




Data
1649315641949.png




Output: Another Work Sheet

1649315880253.png
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,215,365
Messages
6,124,513
Members
449,168
Latest member
CheerfulWalker

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