Hi TAlgo, Have a look at the attached. I've included 2 different macros because I wasn't sure of what you really need. Hope this points you in the right direction. Regards - Dave
> Guys, > trying to create a macro which will copy column A to column B. This is > simple but only exception I m looking is macro should not copy any value = 0 > I m trying this but no luck so far..any help will be greatly > appreciated.. > Sub test_again() > > If cell("a:a") > 0 Then > > Sheets("sheet7").Range("a:a").Copy Sheets("sheet7").Range("b:b") > > End If > > End Sub _________________________________________________________________ Looking to move somewhere new this winter? Let ninemsn property help http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Edomain%2Ecom%2Eau%2F%3Fs%5Fcid%3DFDMedia%3ANineMSN%5FHotmail%5FTagline&_t=774152450&_r=Domain_tagline&_m=EXT --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---
Book1.xls
Description: MS-Excel spreadsheet