dparteka
Member
At the end of my macro I have the code shown below. What it does is save the file, displays a message to create a shortcut and then closes the file… it works great.
The question… is it possible to add code that would also create the shortcut (LNK) file rather than having to do it manually?
ActiveWorkbook.SaveAs Filename:=("H:\Public\PCB-QCR's\Files\") & Range("AJ2").Text & " QCR", FileFormat:=52, CreateBackup:=False
MsgBox "File saved... to complete the process a shortcut must be created in the PCB-QCR's folder"
ActiveWorkbook.Close
Thanks for the help... Dennis
The question… is it possible to add code that would also create the shortcut (LNK) file rather than having to do it manually?
ActiveWorkbook.SaveAs Filename:=("H:\Public\PCB-QCR's\Files\") & Range("AJ2").Text & " QCR", FileFormat:=52, CreateBackup:=False
MsgBox "File saved... to complete the process a shortcut must be created in the PCB-QCR's folder"
ActiveWorkbook.Close
Thanks for the help... Dennis