View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
kfguardian kfguardian is offline
external usenet poster
 
Posts: 5
Default Need help evaluating cells in another workbook in macro

I have found how to directly reference another workbook as such:
ActiveCell.FormulaR1C1 = "=IF(frmInputData.xls!R2C3=""A"",5,0)"

However, I need to do some repetetive work depending on the value in a
column for each row. Can you reference a cell in another workbook using
variables?? My ultimate goal is to move data from certain cells in this
workbook to my active workbook.