View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
steven steven is offline
external usenet poster
 
Posts: 389
Default Writing value to another file

I have this in code:

Range("OpenFile1.xls!A1").Value = "First Option"

This writes "First Option" to Sheet1 of the file I think becuase that is the
active sheet. "OpenFile1.xls" is open.

How can I write "First Option" to "OpenFile1.xls" Sheet2 A1. I dont want to
have to actually activate the window but just write to it.

Thank you,

Steven