Thread: error 400
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JoeBo JoeBo is offline
external usenet poster
 
Posts: 2
Default error 400

I open a workbook with vba, I then wish to copy data from the sheet to the
host workbook. This works fine until I attempt to select a range in the
opened sheet:

Workbooks.Open FileName:=FileName


Windows(FileName).Activate
Range("B7:E18").Select

The range select causes an error 400. Is this because the I am not opening
the file with read write permissions?
Anyone help with this.
Thanks
--
JoeBo