how to extract data and shift to another sheet + ignore row that include blanks

AYSHANA

Board Regular
Joined
Oct 16, 2021
Messages
90
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
hello
good day!

i would like to ask if anyone have an idea how can i extract my rows into another sheet without other rows that include blanks.

i have a big data and i would to extract only that includes all the details.

thank you.

example of my data.

COMBINE.xlsx
ABCDEFGH
1Acc No#PT NumberPT NameUNIT NUMBER Allocated in BGRPS orderBLOOD BGRPUNIT ALLOCATED IN SYSTEMUNIT ISSUED IN SYSTEMReason
2W4839381md
3M3284102df
4F3907993dd
5H4363454mj
6X3387805ss
7T7889126gU240123006330O Positive15-02-23 9:50??only this raw I want to shift in another sheet
8W46817713898221kU240123006330O Positive15-02-23 9:50??only this raw I want to shift in another sheet
9M32308014955539ll
weekly
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C2:C30000Cell ValueduplicatestextNO
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Change the name of the destination sheet (in red) to suit your
Rich (BB code):
Sub CopyData()
    Application.ScreenUpdating = False
    With Sheets("weekly")
        .Range("A1", .Range("H" & .Rows.Count).End(xlUp)).AutoFilter Field:=4, Criteria1:="<>"
        .AutoFilter.Range.Copy Sheets("Sheet2").Range("A1")
        .Range("A1").AutoFilter
    End With
    Application.ScreenUpdating = True
End Sub
needs.
 
Upvote 0
Solution
it is showing run time error 9

what should i do
 
Upvote 0
You are very welcome. :)
 
Upvote 0

Forum statistics

Threads
1,215,471
Messages
6,125,002
Members
449,202
Latest member
Pertotal

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