[COLOR=#000000][COLOR=#0000bb][FONT=Courier New]Sub Luu[/FONT][/COLOR][FONT=Courier New][COLOR=#007700]()[/COLOR][/FONT]
[FONT=Courier New][COLOR=#0000bb]Dim dir [/COLOR][COLOR=#007700]As [/COLOR][/FONT][FONT=Courier New][COLOR=#0000bb]String[/COLOR][/FONT]
[FONT=Courier New][COLOR=#0000bb]dir [/COLOR][COLOR=#007700]= [/COLOR][/FONT][FONT=Courier New][COLOR=#dd0000]"DEFG"[/COLOR][/FONT]
[FONT=Courier New][COLOR=#0000bb]MyFileName [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000bb]Right[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000bb]ActiveWorkbook[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000bb]FullName[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000bb]Len[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000bb]ActiveWorkbook[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000bb]FullName[/COLOR][COLOR=#007700]) - [/COLOR][COLOR=#0000bb]InStrRev[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000bb]ActiveWorkbook[/COLOR][COLOR=#007700].[/COLOR][COLOR=#0000bb]FullName[/COLOR][COLOR=#007700], [/COLOR][/FONT][FONT=Courier New][COLOR=#dd0000]"\", , vbTextCompare))[/COLOR][/FONT]
[FONT=Courier New][COLOR=#dd0000]For i = 1 to 4[/COLOR][/FONT]
[FONT=Courier New][COLOR=#dd0000]ActiveWorkbook.SaveAs Filename:=Mid(dir, i, 1) & "[/COLOR][COLOR=#007700]:\[/COLOR][COLOR=#0000bb]GIANG\[/COLOR][/FONT][COLOR=#dd0000][FONT=Courier New]" & MyFileName[/FONT][/COLOR]
[FONT=Courier New][COLOR=#dd0000]Next i[/COLOR][/FONT]
[FONT=Courier New][COLOR=#dd0000]End Sub [/COLOR][/FONT][/COLOR]