I would like to add a possibility to save the picture to a folder, hard coded in code.
Code: Select all
Private Sub Cmd31_Click()
Dim cv As String, Viewer As String
Select Case Environ("computername")
Case Is = "DESKTOP"
cv = "C:\Program Files\IrfanView\i_view64.exe"
Case Is = "LAPTOP"
cv = "C:\Program Files (x86)\IrfanView\i_view32.exe"
End Select
Viewer = cv
Selection.Copy
Shell Viewer, 1
Application.SendKeys "^v"
SendKeys "{NUMLOCK}", True
Unload Me
End Sub
Code: Select all
/convert=filename -