Hi,
While trying to run a VB Script on my Excel spreadsheet i keep getting errors as it doesnt seem to want to pick up the spreadsheet that i need.
3086 REPORT.xlsx (342.1 KB)
Any suggestions to why this isnt working?
Please see script below
Sub Filter1()
’
’ Filter1 Macro
’
’
Sheets("Z9MM103").Select
ActiveSheet.Range("$A$1:$WWI$749").AutoFilter Field:=12, Criteria1:="5901"
ActiveSheet.Range("$A$1:$WWI$749").AutoFilter Field:=8, Criteria1:="TrRes"
Rows("3:748").Select
Selection.Delete Shift:=xlUp
ActiveSheet.Range("$A$1:$WWI$736").AutoFilter Field:=8
ActiveSheet.Range("$A$1:$WWI$736").AutoFilter Field:=12
End Sub
Regards,
Shawn
HareeshMR
(Hareesh Madasi)
July 24, 2019, 9:56am
2
How you are invoking the code @shawnmurray ?
@HareeshMR Using InvokeVBA Activity
Thanks
HareeshMR
(Hareesh Madasi)
July 24, 2019, 10:02am
4
Can you post the entire code you are using?
@shawnmurray
1 Like
@HareeshMR Is this what you are looking for?
Main.xaml (4.7 KB)
Filter1.txt is the file with the VBA which i posted previously.
Thanks
@ImPratham45
Please see my errors below!!
Thanks
@ImPratham45
Thats so strange!!
Did you change anything or do anything different?
Regards,
Shawn
ImPratham45
(Prathamesh Patil)
July 24, 2019, 10:31am
10
shawnmurray:
’
’ Filter1 Macro
’
’
Just remove this
Thanks !
mark it as solution if u got!
2 Likes
system
(system)
Closed
July 27, 2019, 10:41am
13
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.