Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would use a DIR macro to make a list of the files for col D and then just
copy a formula down Sub makeformulatogetdatafromclosed() lr = Cells(Rows.Count, "d").End(xlUp).Row For Each c In Range("d3:d" & lr) c.Offset(, 1).Formula = "=[" & c & ".xls]YOURSHEETNAME!$A$75:$P$75" 'c.offset(,1).value=c.offset(,1).value ' change to values if desired Next c End Sub-- Don Guillett Microsoft MVP Excel SalesAid Software "Joe Roberto" wrote in message ... a macro to run: I have more than 300 excel files in one folder. I like to copy row 75 from column A to P in each files into one Central file in one worksheet and paste in one row to the next. Please help. Thank you, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Avoid Outlook macro security for Excel bades macro | Excel Programming | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
Need syntax for RUNning a Word macro with an argument, called from an Excel macro | Excel Programming | |||
translate lotus 1-2-3 macro into excel macro using excel 2000 | Excel Programming | |||
Excel Macro Issue Trying to autorun Macro Upon Opening Worksheet | Excel Programming |