eckert1961
Registered User.
- Local time
- Today, 02:32
- Joined
- Oct 25, 2004
- Messages
- 90
Hello,
I recorded the following macro that filters the active worksheet copies the visible data only and pastes this into a new workbook.
Range("G7").Select
Selection.AutoFilter Field:=1, Criteria1:="SWD Nearline"
Cells.Select
Selection.SpecialCells(xlCellTypeVisible).Select
Selection.Copy
Workbooks.Add
Selection.PasteSpecial Paste:=xlPasteColumnWidths, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
ActiveSheet.Paste
Range("A1").Select
In G7 I have listbox with the following criteria.
SWD Blades
SWD NAS
SWD Nearline
SWD SAN
SWD Software
What I would like to do with this macro is to have it present a listbox with the noted criteria and wait for the users selection.
Would anyone have any ideas on how this can be accomplished?
Thanks in advance.
Regards,
Chris
I recorded the following macro that filters the active worksheet copies the visible data only and pastes this into a new workbook.
Range("G7").Select
Selection.AutoFilter Field:=1, Criteria1:="SWD Nearline"
Cells.Select
Selection.SpecialCells(xlCellTypeVisible).Select
Selection.Copy
Workbooks.Add
Selection.PasteSpecial Paste:=xlPasteColumnWidths, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
ActiveSheet.Paste
Range("A1").Select
In G7 I have listbox with the following criteria.
SWD Blades
SWD NAS
SWD Nearline
SWD SAN
SWD Software
What I would like to do with this macro is to have it present a listbox with the noted criteria and wait for the users selection.
Would anyone have any ideas on how this can be accomplished?
Thanks in advance.
Regards,
Chris