https://bugs.documentfoundation.org/show_bug.cgi?id=126457

Andreas Heinisch <andreas.heini...@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andreas.heini...@yahoo.de

--- Comment #7 from Andreas Heinisch <andreas.heini...@yahoo.de> ---
The macro works in excel using:

Public Sub FileOpenExample()
file1 = "C:\temp\Example.xlsx"
file2 = "C:\temp\Example1.xlsx"

Workbooks.Open Filename:=file1
Workbooks.Open Filename:=file2

Windows("Example.xlsx").Activate
Windows("Example1.xlsx").Activate

End Sub

I could not get it to work using your macro:
Public Sub FileOpenExample()
file1 = "C:\temp\Example.xlsx"
file2 = "C:\temp\Example1.xlsx"

Workbooks.Open Filename:=file1
Workbooks.Open Filename:=file2

Windows(file1).Activate
Windows(file2).Activate

End Sub

Did I something wrong?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to