View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
RB Smissaert RB Smissaert is offline
external usenet poster
 
Posts: 2,452
Default Read/Write from/to a closed workbook

Look at the thread in this NG from 11 June:
Problem with file finding macro.

RBS

"Alan" wrote in message
oups.com...
Using a macro, how can I write the value from
Workbooks("Wb1").Range("Rng1") to Workbooks("Wb2").Range("Rng2") when
"Wb2" is closed?

Conversely, how can I read the value from
Workbooks("Wb2").Range("Rng2") into Workbooks("Wb1").Range("Rng1") when
"Wb2" is still closed?

I don't want to use links because I need complete control over the
event and I need to pass data in both directions.