Adjuntar a rutina para crear acceso directo del archivo
hola que tal mi pregunta es la siguiente tengo la siguiente rutina la cual utiliza el mismo libro lo guarda con otro nombre y borra todas las celdas que están desprotegidas lo que me gustaría es que dentro de la misma rutina me cree un acceso directo en el escritorio del archivo que se guardo como.ya e intentado muchas formas pero nada mas no puedo solo me creaba el archivo .lnk pero sin la ruta ni la imagen de tipo de archivo
el código es el siguiente
<pre class="prettyprint" style="width: 551px; height: 448px;">Private Sub CommandButton1_Click()
Dim RESP As Integer
RESP = MsgBox("ESTA USTED SEGURO DE CONTINUAR LOS CAMBIOS SON IRREBOCABLES", vbOKCancel, "CREAR LIBRO")
If RESP = vbCancel Then
MsgBox "SE CANCELO PROCESO ", vbCritical, "CANCELACIÓN"
Exit Sub
Unload Me
End If
If vbOK Then
ruta = "F:\RAUL\REPORTES DE OPERACIÓN\"
archivo = InputBox("Nombre del archivo", "Archivo")
ActiveWorkbook.SaveAs ruta & archivo & ".xlsM"
Sheets(1).Activate
'
For P = 1 To 31
Sheets(P).Select
Dim c As Range
On Error Resume Next
For Each c In Range("A1:T198")
If c.Locked = False Then
c.ClearContents
c = 0
End If
Next
Range("B8:J9").Select
Selection.ClearContents
Range("B12:J14").Select
Selection.ClearContents
Range("H19:J21").Select
Selection.ClearContents
Range("A67:J97").Select
Selection.ClearContents
Next P
Sheets(1).Activate
MsgBox (" BORRADO DE CELDAS TERMINADO "), vbInformation
MsgBox "REVISE SU RUTA PARA REVISAR EL ARCHIVO"
Unload Me
End If
End Sub</pre>
