I possess an Excel file that allows macros to run. Within the file, there is a checkbox, and when the checkbox is clicked, the current time and username are recorded. The recorded information is then captured by the file.
The Microsoft support article states that macros are not supported in the web version of Excel. Is there an alternative method to accomplish the task of capturing the current time and username upon clicking a checkbox in the web version of Excel?
Related
My whole team uses Office 365. This is my first attempt using the online sharing 'co-authoring' feature in 365. I created a 5-6 person, team-use Excel spreadsheet as an ongoing check-off log for a common task. I put in VBA "Done" buttons for when a team member finishes a task.
The file is on our company's OneDrive online folder (which I read was a requirement for co-authoring to work), but when opened in a web-browser the macro buttons are disabled -see screenshot. The VBA button macros come back and work great only when a user clicks "Open in Desktop App" and works it directly from the app -see 2nd screenshot.
Is there a way for the macro buttons with their VBA code to work in the browser view of the spreadsheet?
Thanks for any suggestions!
I have an Excel file that's linked to a SQL database view. The Excel file needs some monthly massaging that I am trying to do with a VBScript but this dialog box keeps coming up and interrupting my VBScript:
This workbook contains links to one or more external sources that could be unsafe.
If you trust the links, update them to get the latest data. Otherwise, you can keep working with the data you have.
And buttons for Update, Don't Update and Help
I do trust the data (it's our on-site SQL server), I don't want to refresh the data with this specific script (it takes about 15 minutes and it is refreshed via another process). But the dialog box is holding up my whole VBScript, how do I dismiss it? I've tried ExcelObj.DisplayAlerts = False and ExcelObj.EnableEvents = False but neither is making this dialog box go away. Please help!
I've written my first VBA Excel function, ConvertFromUSD(amount,currencyname,year), which uses an excel spreadsheet to look up an exchange rate from US Dollars to a specified currency for a specified year, and returns the converted sum.
It seems to work fine, and I've made it into an Add-in that I can use whenever I start a new spreadsheet or edit an existing one.
Now I want to make this add-in available to a couple of dozen other people in my team, but I can't see how to do it; should I send the .xla to each of them and get them to install it (if so, how?), or can I put it somewhere where their excel applications will automagically find it?
Thanks for your help.
If they just double click the .xla file it should work for them. It will probably disappear as soon as they close excel though.
The quick way to get it to stick around:
enable their "Developer"
tab
Navigate to the Developer tab
Click "Add-ins"
"Browse" to the .xla file
Ensure that it's "Checked" in the list
There is a folder where they will be displayed in the "Add-in" dialog automatically without browsing, but it depends on the version of excel. 2010, for instance, is C:\Program Files\Microsoft Office\Office14\Library.
I have a presentation used for our new employee orientation that lists when specific forms are due. For example, Health Insurance form must be turned in 60 days from hire date. I would like the date to automatically update to be 60 days from the current date each time the presentation is ran.
I currently have a text box linked to an Excel spreadsheet which has a formula =NOW()+60. This works great, but it still does not update unless you first double click on the text box to activate/open the Excel spreadsheet, which then refreshes to the current date and updates the correct future date.
This is not a workable solution however because in the first place there are about 6 different instances (embedded in over 100 slides) of these future dates that need to be double clicked and updated, and in the second place, I am not running the presentation myself, but instead a subject matter expert is, who is NOT technically savvy enough to even double-click text boxes to force a refresh.
I am hoping find code that would either insert a future date automatically directly into the PowerPoint text box -or- open and refresh the linked Excel objects each time the PowerPoint is opened.
Any help would be appreciated, thanks.
If you have to doubleclick to get the formula to refresh, it seems likely that the spreadsheet is embedded, not linked. If you link the info instead, you'd only need to open the Excel file and save again to force the date to change, then open the PPT, which'd see the updated Excel file and update the links.
PPT will open/close Excel once per link; if you have lots of links, this can be quite time-consuming, but for six instances, I doubt it'd be bad.
This could also be done in code, but then you'd need to turn it the code into an add-in and install it on the end-user's PC to give them a one-click solution. If they can't be trusted to doubleclick the dates to update them, I'm not sure you'd want to teach them how to run macros embedded in the presentation itself. If creating an add-in is a possibility, give a shout and I'll make a couple suggestions on how you could do the coding.
I have an excel spreadsheet which contains a calendar control (Microsoft Calendar Control 2007, MSCAL.ocx) and activex comboBox controls.
All works fine on my own PC but when i try it on another one (with the same version of excel i.e. 2007) it seems to lose the reference to the Microsoft Calendar Control 2007. I get an error message saying "Invalid qualifier" every time I reference the calendar in the VBA code.
I am hoping to find a solution to this problem that doesn't require the user to go into the VB editor and add a reference as this spreadsheet will be sent to many users, can anyone tell me if this is possible?
Thanks
Had to get the user to register the calendar control using a batch file, not ideal but it works