Launch A Desktop Shortcut

Apr 6, 2008

I have a lot of shortcuts to movies for my 5th grade students which won't work. I can launch direct file names but not shortcuts from within excel I can click on a cell to launch a direct file like this = "C:Program FilesOfficexpOffice10winword.exe" /n "c:mode.doc" but if C:modeSC.doc" is a desktop shortcut then it opens winword but not the document.

I get " document name or path is not valid" from within winword. But if I go to drive C and click on the shortcut, it opens winword and the ModeSC.doc which is a 1 KB shortcut.

View 9 Replies


ADVERTISEMENT

Launch Shortcut Through VBA

Feb 22, 2008

Is it possible to launch a program through desktop shortcut with VBA? I have the following code and it is giving me an 'Invalid procedure call or argument' error
Edit: Typing the string into the Run command works fine.

Dim objWsh As Object, _
strDesktop As String

Set objWsh = CreateObject("WScript.Shell")
strDesktop = objWsh.SpecialFolders("Desktop") & "Wildfire 3.0.lnk"

Set objWsh = Nothing

Shell strDesktop, vbMaximizedFocus

View 9 Replies View Related

Launch A Website

Jan 14, 2010

I am wanting to be able to lauch www.fafsa.gov from within Excel. In other words I want to be able to put a button on screen and when the user clicks on the button it will record some statistical data and then lauch the website. I know how to do everything except lauch the website. Can you lauch a website using code from within Excel.

View 4 Replies View Related

Launch Notepad Using VB Code

Dec 6, 2006

I looking for the VBcode of how to:

1) Launch the Windows Notepad using an Excel VB button
2) Copy the Excel sheet data (valiable range) into the Notepad
3) Get the Notepad "Save As" dialog window to save the Text file

View 9 Replies View Related

Launch A Userform During Startup

Nov 13, 2006

I am trying to launch the userforms with the below codes during startup(that is when you click the excel file, the userform will automatically pop up).
Please, Can somebody guide me through ?
Compare_Map is a subroutine which is to be called when optionbutton3 is being selected.

Private Sub OptionButton1_Click()

End Sub

Private Sub OptionButton2_Click()

End Sub

Private Sub OptionButton3_Click()
Call Compare_Map
Exit Sub
End Sub

View 3 Replies View Related

Desktop Shortcuts Done By VBA

Sep 11, 2008

Anyone know if you can place a shortcut on the desktop using VBA code?

View 9 Replies View Related

Set Desktop Background

Mar 28, 2008

Im designing a desktop background for my office, and want to roll it out once complete. Rather than trying to email the image out and get people to do it manually, is there anything in vba i can do to assist in this? I know its asking a bit much, but ive been surprised in the past with how versatile vba is! (i.e mapping network drives). I asked the IT guys to do it over the server, but they started ranting about screen resolution, priority of other jobs etc etc.

View 2 Replies View Related

How To Launch At A Specified Time Without Someone Pressing A Button

Nov 30, 2007

Is it possible to launch Excel at a specified time without someone pressing a button?

I'm working on a network which has disabled Scheduled Tasks. The purpose of this request is to launch Excel in the early hours of the day so that a macro would run and update the data from a data source. The macro works brilliantly, but I without anyone in the office at 2am to open Excel, I need to find a way to launch it automatically.

Also, I don't have permissions to install programs or add-ins from the Internet. It doesn't leave me with many options, but I'm just wondering if there's a trick that has so far eluded me.

View 11 Replies View Related

Launch Email With A Dropdown List

Oct 30, 2007

Is it possible to Launch individual Email addresses for names in a dropdown List?

View 14 Replies View Related

Excel VBA To Launch Notepad And Save

Oct 14, 2011

I want to know if it is possible to launch a blank notepad from an existing excel spreadsheet and then type relevant "history notes" into notepad and save.

I am creating a manual spreadsheet for the company I am working for which is being used for Maintenance Planning / Scheduling and creating of work orders. Once the work order has been raised and the job has been completed it then needs to be closed out on the spreadsheet and any relevant notes entered in. I am hoping to be able to have a link that opens notepad by the click of a button within the spreadsheet and it allows the user to record any notes against that work order and save. These notes can then viewed by future users.

View 5 Replies View Related

Launch Form From Custom Toolbar?

Oct 3, 2012

I have a custom toolbar with a button on it that I want to open a userform from.

I have tried this macro

VB:

Code:
Sub Admin_Show()
frmAdmin.Show
End Sub

[Code]....

View 3 Replies View Related

Launch Vncviewer, And Point It To An IP Address

Dec 11, 2007

I'm trying to resolve, and all my clues are leading me to the impression that using VBA is the only way to accomplish my task.

I am trying to integrate the ability to launch a program with command line arguments by clicking on a cell. More specifically, I'm trying to launch vncviewer, and point it to an IP address.

the command line would look like:

c:program filesultravncvncviewer.exe 192.168.XXX.XXX

The only text the cells will have in them is the IP address to the machine with which I would like to initiate a connection, and I'm hoping theres a way to automatically pull that information from the cell and run it in the command. Is there a way to do this? Better yet, is there a relatively simple way to do this?

View 9 Replies View Related

Minimize Workbook On Userform Launch

Oct 24, 2006

Is there a way to minimize Excel when a userform is launched, so just the userform is showing? I've tried using "Application.WindowState = xlMinimized" in the UserForm initialization procedure, but it minimizes both the workbook/application and the UserForm. I can click on the Excel window on the taskbar and just the UserForm will display--which is the goal--but I'm hoping there's a way to do it automatically without needing to click the taskbar icon after it's minimized.

View 2 Replies View Related

PO Status Sheet On Desktop

May 14, 2014

How can i link my PO status sheet on desktop to alert material delivery date.

View 2 Replies View Related

Change Desktop Icon

Dec 4, 2008

I was wondering how I could change my desktop icon for one specific workbook to something other than the excel icon. I saw the below link (2nd tip) but that changes the icon for every file of a specific file type. I just want to change one specific file's icon on my desktop to something custom, like a clipart picture of my choosing. I also know that this can be done with shortcuts, but I need it to be changed on the original file. I tried using the IconChanger program, but the icon stayed with the file name so if I did a "save as" or emailed the file, it disappeared. I want it to stick with that file for good, or any file I duplicate from the original, and work on other computers as well.

View 2 Replies View Related

Make Folder On Desktop

May 15, 2009

I'm trying to create a folder on the desktop and save the activeworkbook in that folder. Since other users will use this I dont know the exact path. However I'm using this function below to tell the script where to find the path. Everything was working fine till I started to make the folder can someone point out what I may be doing wrong?

View 5 Replies View Related

Find Any Ones Desktop Folder

Jun 3, 2009

I am having an issue with trying to find anyone's desktop folder. I'm trying to write a path to the desktop but once again the desktop is different on every computer. The problem line is in red.

View 8 Replies View Related

VBA To Open A File On ANY Desktop

Oct 16, 2009

I am sending this workbook out for several buyers to use. Part of the macro opens a workbook on their desktop named "Backorder List.xls" and copied data to it. The problem is, the way it is written, I have to go around to each buyers computer and edit it so the vba is looking in the right directory for the file. Is there any way to modify this so that it will open the file "Backorder List.xls" no matter who's desktop it is on?

View 7 Replies View Related

How To Check For Folder On Desktop

Apr 26, 2012

Using VB/VBA how do i check to see if a specific folder exists if not than prompted to create yes/no. Folder to check should be named Loader Files?

View 3 Replies View Related

How To Launch Macro Or Other Userform After Command Button

Apr 6, 2009

I want to launch userform A when the user hits the command button on userform B, I already have a macro set up to launch UserForm A and tried adding it to the code but it doesn't work.

View 13 Replies View Related

Macro - Dialog Box On Excel File Launch?

Jul 8, 2013

I'm looking to create a macro that launches a dialog box upon file launch. Based on the input, I want excel to only show the tab which corresponds to the dialog box entry.

For example, if it asks "What is your name?" on file launch and I respond "Alex"; i want the tab labeled "Alex" to only be shown for the user.

View 1 Replies View Related

Launch UserForm With Double Cell Click

Jan 30, 2008

I've found the code below and tweaked to suit my needs but having trouble. Had it working one time. The code below calls a userform when the user double clicks on a cell. The form pops up and is not active/enabled. I cannot select anything on the form until I select a cell on the sheet, then everything on form becomes active/enabled.

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
'check cells for desired format to trigger the frmSel_WBS.show routine
'otherwise exit the sub
Dim NumberFormat, DF
NumberFormat = Array("[Blue]General")
For Each DF In NumberFormat
If DF = Target.NumberFormat Then
frmSel_WBS.Show vbModeless
End If
Next
End Sub

View 2 Replies View Related

Change Desktop Excel Icon

Dec 1, 2008

I was wondering how I could change my desktop icon for one specific workbook to something other than the excel icon. I saw the below link (2nd tip) but that changes the icon for any file of a specific file type.

I just want to change one specific file's icon on my desktop to something custom, like a clipart picture of my choosing. I've seen it done with certain companies changing the internet explorer shortcut icon linked to their webmail, changing it to their logo.

HTML http://www.windweaver.com/w95tips3.htm

View 4 Replies View Related

Microsoft Word Hangs With Excel Launch Code

Apr 29, 2012

Consider this procedure to execute a MS Word mailmerge from within Excel:

Code:
Option Explicit
Dim objword As Object
Dim odoc As Object
Dim odoc2 As Object
Dim wdsendtonewdocument As Object
Dim mypath As String

Sub merge()

[Code] ........

The application hangs on the line in red. The file name (worksheets("Frontpage").Range("B15")) exists. It hangs with periodic dialogues "Microsoft Office is waiting for another application to complete an OLE action."

I end up having to go into task manager to close the word application before I can regain Excel control again.

View 9 Replies View Related

File/Send To Option Is Available On Laptop But Not On The Desktop

Dec 23, 2008

I have Excel 2002 installed on Desktop & my Laptop. The Send To option is available on my Laptop but not on the Desktop.

View 4 Replies View Related

Copy Database File And Save To Desktop

Nov 13, 2008

Let's say I have a database called testTemplate.mdb in c: which is a template-like database where i import data to. Is there a way for me to copy the testtemplate.mdb and past it to my desktop with file name test.mdb. I don't want to copy any data from the database, just the table's + queries. I would like this to be done via a macro... In order for me to execute other macro's to copy data from excel to that test.mdb file on desktop.

View 2 Replies View Related

Copy Selected Data To Workbook On Desktop..

Oct 13, 2009

As the buyer edits orders, I have a macro which pulls out all the parts with changes and puts them on a sheet named "Changes" in the attached "Sample" workbook. Since the buyer will do dozens of these edits a day, I'm trying to create a simple way for them to create a list of parts they may want to try and buy from another source.

I would like to add a macro that would open a message box telling the buyer to select the parts they want to copy. They could select whatever rows they want to copy to the "Backorder List", and select "OK" or hit "Enter", and the macro would open the workbook named "Backorder List.xls" on their desktop, (mine is located under "C:Documents and Settingsjerry.hutchesonDesktop"), and copy the selected rows to the workbook, then save changes and close the "List" workbook. It should only paste the values, to preserve whatever formatting is in the book being copied TO, and it should copy below any data already in the workbook.

To make things even more difficult, the macro would also need to copy the Vendor # and PO # from the top of the "Sample" workbook, (cells B2 and B3 respectively), and enter that data beside the other data just pasted beside the parts data in the backorder list. (I have entered sample data in the backorder list to show what I mean.)

View 2 Replies View Related

Display Particular Excel Cell On Desktop Permanently

Jul 11, 2012

Is it possible to display a particular excel cell (for example cell A1) on Desktop permanently?

If yes then - HOW ?

View 4 Replies View Related

Reading Remote Desktop Current CPU From Excel?

Sep 17, 2012

I need to find a way to collect current CPU usage of a specific application on a remote server or the top applications that are using the most of the processor's time on a remote server?

View 7 Replies View Related

VBA Shell Command To A Launch Applications On All Computers (no File Paths)

Apr 14, 2006

The VBA shell command is as follows:

programPath = "C:Program FilesInternet Exploreriexplore.exe" ' works
'programPath = "iexplore.exe" ' does not work
Shell programPath + " " + fileToLaunch, vbNormalFocus

but the drawback is that the invoked program (iexplore.exe, at least in my case) needs to have the FULL PATH to where the program exists = the "C:Program FilesInternet Explorer" which may or may not work on someone elses computer. This hardcoding will not work and is not transportable.

Is there a trick to find where the executing program lives? or launching it without the path?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved