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
ADVERTISEMENT
Mar 19, 2009
I would like to design a button (with macros),so that users of my excel page do not need to press CONTROL+SHIFT+F1+ALT,which needs to be pressed on my firm to get the new data from a central server.
View 3 Replies
View Related
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
Apr 15, 2014
I have a button in a template file, that when clicked, saves the file as a new file with file name based on data in certain cells.
I want to disable the ability to save the file with the Save icon or Ctrl-S, but the button still needs to be able to save it (the button is technically doing a Save As, so no problem there). But, I, as the administrator of the template, need to somehow be able to save updates to the template file. Can this be accomplished by coding Save to work when used with a secret key combination that only I know (I can put it in password-protected VB code)?
Then, as if that's not tricky enough, the trickier part is that once the file is saved as the new file (no longer the template) - re-enable the Save button and Ctrl-S so the user can then save it as many times as they want.
View 3 Replies
View Related
Jul 2, 2012
I have developed a Userform button in Excel 2010 using the developer icons, which when clicked on with my mouse it runs my super dooper macro. It works great!
But one thing I want to have happen is to have the choice of using the Enter key to start the macro or use the left mouse button
For example, I place data in (say) cell A1 and the userform button is in cell A2. When I place the data in A1 and press the Enter key, the cursor moves down to A2, but doesn't highlight the user button. When I press the Enter key again, the cursor moves to cell A3.
What I want is when I fill in the data in A1 and press the Enter key, the cursor moves to cell A2 and selects the button, so that when I press the Enter key again, it activates the macro.
View 3 Replies
View Related
Mar 3, 2007
I am working on a system where the system is having "australia time". Now, I want a worksheet where it should reflect the India Time after pressing a specific key in a specific cell.
View 3 Replies
View Related
Mar 7, 2014
I have a workbook with macro button to run some vba, if i want the button to disable when the user make copies of the workbook (date created is later than original wb saved time) what codes to add in the VBA?
what i assume is to add the time to a cell when the wb is saved, when the wb opens, it check for that cell if the same with the date created, if different, then disable the macro button.
View 9 Replies
View Related
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
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
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
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
View Related
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
Apr 21, 2013
how to record a value of a cell whenever F9 is pressed. The cell I want to record the value of is cell D101, which is a sum function of the previous 100 rows. I'd like to figure out a way to run 1,000 trials or so and record the value in cell D101 each time.
Some more details, if needed: I'm simulating a dice game (craps). There are 2 dice, each dice is based off of RANDBETWEEN (1,6) then the dice are added in a different column to achieve the roll. The payout is then based on whatever number was rolled. I'm summing the payout (D101) and would like to run this trial 1,000 times.
View 3 Replies
View Related
Nov 10, 2009
I have a formulas in Sheet1 linked to other sheets, but I have only formula and there are no sheets ( eg: in sheet 1 A1 =Data!A1) where as there is no sheet called Data. I have a macro to import this sheets from a different file.
The problem I am facing is, after importing the sheets, the formula still shows #REF but if I do double click the cell or press F2 and then "Enter" the value appears. I have about 1200 formulas in this sheets.
View 2 Replies
View Related
Jun 23, 2012
Once I reach Column G and I press enter, instead of going to Col I, How can I get Excel to back back to Col A, but on the next row?
View 5 Replies
View Related
May 15, 2008
I recently upgraded to Excel 2007. I use Excel with "Allow editing directly in cells" unchecked. In previous versions, pressing F2 would not prevent me from using the mouse scroll, but in Excel 2007 I am unable to mouse scroll which makes it bothersome. Is there a setting somewhere that can enable mouse scroll after pressing F2?
this is a work product and we can't use VBA.
View 3 Replies
View Related
Feb 13, 2009
Is it possible to add a button to a spreadsheet that "self-destructs" after it is run for the first time? We have several files that compile the results of our testing and analysis that get sent off to various departments for their responses. I want the button to lock/protect the sheets/workbook, add several formulas and perform those calculations, and then delete itself upon completion so we can send the file off the respective department head for their response.
We already have the code for the formulas and to protect the workbook, just wondering about the self-delete part.
View 9 Replies
View Related
Oct 30, 2007
Is it possible to Launch individual Email addresses for names in a dropdown List?
View 14 Replies
View Related
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
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
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
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
Aug 6, 2013
I have set the default in Excel to move across to the next cell after I press Enter. This is fine for most workbooks but I have a particular workbook in which it would be preferable (save keystrokes) for the cursor to move down one cell. Is it possible to have one action as the default but another for a particular workbook?
View 7 Replies
View Related
Jun 20, 2009
I have a userform contains a label control .. what I want is showing that label when Caps Lock is on and hide it when Caps Lock is off.
View 14 Replies
View Related
Apr 3, 2007
the title should read... pressing cancel in inputbox, continues the macro... In theory, pressing the cancel button should stop the macros, but it continues as if pressing ok button...
View 3 Replies
View Related
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
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
Jun 22, 2009
I have the following code to add dash mark to TextBox1 value depending on some condtions (mentioned in the code), the code works perfectly, but when we use Backspace Key to clear some charactors it is conflicting with the code running when changing Textbox1 value.
View 11 Replies
View Related
Jan 27, 2012
I have a workbook with a data entry sheet.
The name of the data entry sheet is 'Enter Data Here', and my employees will be filling in information in columns A to U.
I want to be able to accomplish 2 things.
1) When an employee opens the file, he/she is not able to edit any non-blank cells in columns A to U.
2) Employee is able to add data to a new row in columns A to U, and is able to edit this until they press 'SAVE'
Is this possible?
View 9 Replies
View Related
Sep 24, 2007
I have a simple formula in cell A2
=A1
But it will not calculate. I have gone to Tools - Options - Calculation to see if calculation is set to Manual but it is Automatic. Is there another setting or have I exceeded some limit?
View 9 Replies
View Related