Hi goog, Attach a sample workbook with 20 or so lines of data, with manually entered results of what you want. We should be able to help you.
Regards - Dave. > Date: Mon, 20 Apr 2009 17:35:46 -0700 > Subject: $$Excel-Macros$$ Need Help with autofill please !!! > From: amadugu...@gmail.com > To: excel-macros@googlegroups.com > > > Hi all, > I am new to excel vba, but need help with a project i have that is due > tomorrow. > This is my question ... i have a spreadsheet with 10 columns like > this.. > > Id col1 col2 col3 ..... col6 col7 col8 col9 > col10 > 1 a a a > 2 b b b > 3 c c c val1 val2 val3 > val4 val5 > 4 d a b > 5 e a f val2 val3 val6 > val2 val3 > > what i need is the cols 6 - col10 populated in rows 1, 2 with values > from row 3 which is the first record which has data and > cols 6 - col10 in row 4 copied from row 5 and so on.... > the data needs to be populated from the first row which is not empty > and "autofill" > > and so on. the spreadsheet is about 40000 rows, so i cant do it > manually without errors or in time.... i was wondering if there was a > way to write some code that would do the same thing? > > Thanks in Advance !!! > > > _________________________________________________________________ Need a new place to rent, share or buy? Let ninemsn property search for you. 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 ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---