Try this
With Application.FileDialog(msoFileDialogOpen) .AllowMultiSelect = False If .Show = -1 Then OldFilename = .SelectedItems(1) Name OldFilename As NewFilename End If End With
Try this
With Application.FileDialog(msoFileDialogOpen) .AllowMultiSelect = False If .Show = -1 Then OldFilename = .SelectedItems(1) Name OldFilename As NewFilename End If End With
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber