After a good deal of research on the Internet. I did it like this. Little of the code is with help from the macro-recorder. I suppose the code could be more sophisticated.
Thanx,
Roger
Sub Kopiera()
'Skrivet av Roger Håkanson
'
' Join today´s date with ".xls"
' Format the filnamn to match visitor files syntax
Dim filnamn As String
filnamn = Format(Now() - 2, "yymmdd") & ".xls"
'Open the files
ChDir "C:\Passage\Bosse"
Workbooks.Open "c:\passage\Bosse\Sammanställning.xls"
ChDir "C:\Passage"
Workbooks.Open (filnamn)
' Copy the information
Windows(filnamn).Activate
Range("B2:B16").Select
Selection.Copy
' Paste the information
Windows("Sammanställning.xls").Activate
Columns("A:A").Find(What:=Date - 2, LookIn:=xlValues).Activate
ActiveCell.Offset(0, 1).Activate
Selection.PasteSpecial Paste:=xlAll, Operation:=xlNone, SkipBlanks:=False_, Transpose:=True
' Close the files
Windows(filnamn).Close
Windows("Sammanställning.xls").Close savechanges:=True
'Application.Quit
Exit Sub
Errorhandler:
Select Case Err.Number
Case 1005
MsgBox ("Hittar ingen fil med dagens datum")
Case Else
MsgBox (Err.Description)
End Select
End Sub