View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Chad Borman Chad Borman is offline
external usenet poster
 
Posts: 3
Default Change a Cell Ref When Clicking in another Cell

I'd like to be able to change a cell reference in one cell based upon which
cell I've currently clicked in. Example. My formulas are all entered in
Sheet1. If I click in cell B1 on Sheet1, the value in cell A1 on
Sheet1refers to Sheet2!A1. If instead, I click in cell C1 on Sheet1, the
value in A1 on Sheet1 will refer to Sheet3!A1 and so on. I'm only somewhat
fluent in VBA. Any help would be appreciated.