Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hey Gang,
I am trying something new and need some assistance. I get a new workbook each month with several hundred records on one worksheet. I have written the simple macros to do the following: 1. Create a new WorkSheet 2. Copy all data from Sheet1 to Sheet2 3. Delete the unneeded columns 4. Autofit the remaining columns The last thing I need to do is to delete all rows where columns "G" or "H" do not include the word "Power". I can't simply autofilter because I need all records where "either" columns have "Power" in it. Any code idea? I am sure it is simple, but my VBA use in Excel is much less than my knowledge in PowerPoint or Word (and that is somewhat limited)! HA! TIA! -- Bill Foley, Microsoft MVP (PowerPoint) Microsoft Office Specialist Master Instructor - XP www.pttinc.com Check out PPT FAQs at: http://www.rdpslides.com/pptfaq/ Check out Word FAQs at: http://word.mvps.org/FAQs/General/index.htm |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting Duplicate records | Excel Discussion (Misc queries) | |||
Deleting duplicate records | Excel Discussion (Misc queries) | |||
Deleting unneeded rows and columns | Excel Discussion (Misc queries) | |||
Deleting specific records | Excel Discussion (Misc queries) | |||
Deleting records ADO | Excel Programming |