

- #How to create a shortcut on desktop from exell how to
- #How to create a shortcut on desktop from exell windows
' with any Special Folders name to create the shortcut there ' Constant string values, you can replace "Desktop" ' Create a custom icon shortcut on the users desktop Save End With ' Explicitly clear memory Set oWsh = Nothing Set oShortcut = Nothing ' Let the user know it was created ok szMsg = "Shortcut was created successfully" szStyle = 0 szTitle = "Success!" MsgBox szMsg, szStyle, szTitle Exit Sub ' or if it wasn't ErrHandle: szMsg = "Shortcut could not be created" szStyle = 48 szTitle = "Error!" MsgBox szMsg, szStyle, szTitle End Sub Paste the following location in the textbox and click Next, where URLADDRESS is the URL address of the website you want to get redirected to when you open the shortcut: %windir%\explorer.exe microsoft-edge: URLADDRESSįor instance, if you want to open Download3K each time you open the shortcut, then that would be: %windir%\explorer.exe microsoft-edge:Then follow Steps 3-4 from the previous topic ( Creating a Shortcut for Microsoft Edge on Your Desktop) in order to change the shortcut’s name and icon.Option Explicit Sub CreateDesktopShortcut() ' = ' Create a custom icon shortcut on the users desktop ' = ' Msgbox string variables Dim szMsg As String Dim szStyle As String Dim szTitle As String ' Change here for the icon's name Const szIconName As String = "\cvg.ico" ' Constant string values, you can replace "Desktop" ' with any Special Folders name to create the shortcut there Const szlocation As String = "Desktop" Const szLinkExt As String = ".lnk" ' Object variables Dim oWsh As Object Dim oShortcut As Object ' String variables Dim szSep As String Dim szBookName As String Dim szBookFullName As String Dim szPath As String Dim szDesktopPath As String Dim szShortcut As String ' Initialize variables szSep = Application.PathSeparator szBookName = szSep & ThisWorkbook.Name szBookFullName = ThisWorkbook.FullName szPath = ThisWorkbook.Path On Error GoTo ErrHandle ' The WScript.Shell object provides functions to read system ' information and environment variables, work with the registry ' and manage shortcuts Set oWsh = CreateObject("WScript.Shell") szDesktopPath = oWsh.SpecialFolders(szlocation) ' Get the path where the shortcut will be located szShortcut = szDesktopPath & szBookName & szLinkExt ' Make it happen Set oShortcut = oWsh.CreateShortCut(szShortcut) ' Link it to this file With oShortcut. In the desktop, right-click anywhere on a blank area and select New > Shortcut to open the Create Shortcut window.
#How to create a shortcut on desktop from exell how to
In this topic we’ll explain how to create a shortcut for Edge that redirects you to a specific address when you open it. The Edge icon will be displayed below, so select it and click OK. Copy the following location and paste it in the textbox that’s next to the Browse button, and press Enter: %windir%\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exeĤ. In the Properties window, navigate to the Shortcut tab and click on the Change Icon button.ģ. Right-click on the Edge shortcut you just created and select Properties.Ģ.


This is optional, but you might want to replace the default shortcut icon with the Edge's icon. In the current screen you are prompted to enter a name for the shortcut, so type “ Microsoft Edge” or whatever you like for it and click Finish. In the Create Shortcut window, type the following location and click Next: %windir%\explorer.exe shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge In the desktop, right-click anywhere on a blank area and select New > Shortcut to open the Create Shortcut window. Here’s how you can make a shortcut in the desktop that opens Edge: Step 1: Open “Create Shortcut” Window Creating a Shortcut for Microsoft Edge on Your Desktop You can click on any of the links above to jump to a particular topic in the article. We present you two ways of creating shortcuts for Edge:Ĭreating a Shortcut for Microsoft Edge on Your DesktopĬreating a Shortcut for Microsoft Edge on Your Desktop that Redirects You to a Website In this article, we are going to show you how to create a shortcut for the Edge browser on your desktop.

#How to create a shortcut on desktop from exell windows
Microsoft Edge did not exactly receive a positive reception when it was released along with Windows 10, but there are still some things you can do on your own to make it a bit likeable and customize it to your needs.
