Thread: GetOpenFilename
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
roman roman is offline
external usenet poster
 
Posts: 35
Default GetOpenFilename

Here's my example:

Book = Application.GetOpenFilename
Set Rng = Workbooks(Book).Worksheet("Sheet1").Range("A1")

It results in error because GetOpenFilename returns a full file path, not
file name.
Is there a way to solve this?

Thanks