Run VBA on smartphone - vba

I have searched high and low and I cant find if it is possible to run VBA on Samsung galaxy 5 using Excel 365 (Latest Version)
Was wondering if I take a subscription with 365 will it allow me to use vba
Thanks

#James: Specifically for Android, there is no application which allows you to run VBA, but e-Droid-Cell Pro Spreadsheet which includes a "Macro" mechanism allowing to script the application. Although the Macro language is not compatible with VBA (Visual Basic Applications) it does allows for doing almost anything required by a Macro language. Here is the Link of application on Google play store.
They have some really good reviews but I will suggest to try out the trial version first.
As for O365, If you have done any VBA development which works with Office 2010 or Office 2013 then it will work in Office 365, while you can open the book in the browser or through a webpage, you won't be able to run any of the vba code there.

the only solution i found was to install "OpenOffice" on my pc and opening my excel project with vba with OpenOffice, the vba of OpenOffice is near of exel vba you will need to convert somme instruction you will be able to convert, débugging and testing on your pc be sure to save as OpenOffice format. On your android tablet/phone install "AndrOpen Office" copy your new OpenOffice project to your tablet/phone and open it with AndrOpen Office. MAKE INTNESIF TEST

Related

Libre Office Calc Vs Excel

My company will be changing from Excel to Libre Office Calc. I have built up a collection of Excel VBA Macros (especially screen scrape macros). Will my Macros work without changes? Anybody else that has made the change, how do you make the change smoothly?
Possible already answered by Rubber Duck https://stackoverflow.com/a/24749320/7326037
From LibreOffice's online help file:
With a few exceptions, Microsoft Office and LibreOffice cannot run the
same macro code. Microsoft Office uses VBA (Visual Basic for
Applications) code, and LibreOffice uses Basic code based on the
LibreOffice API (Application Program Interface) environment. Although
the programming language is the same, the objects and methods are
different.
The most recent versions of LibreOffice can run some Excel Visual
Basic scripts if you enable this feature at LibreOffice -
PreferencesTools - Options - Load/Save - VBA Properties. In reality,
you would most likely need to sit down with the LibreOffice API and
rewrite the functionality.
This post also suggests that at parts of the VBA macros will work but will require a bit of manual migration.
https://ask.libreoffice.org/en/question/6621/import-ms-word-macros/?answer=6982#post-id-6982
In ODF/ODS files you have to enable VBA support at the beginning of the macro, otherwise it expects LO-Basic:
Option VBASupport 1
Option Compatible
Ultimately, you're probably going to have to go through each one and check that it functions correctly.
In most cases this won't work without converting the macros from VBA to Libre Office Basic. You will need to rewrite them and test them before you perform the switch to Libre Office to make a smooth switch.

Visual Studio Program Using Excel on a PC that doesn't have Excel

I'm making a program that will eventually be used as a simple program to keep track of customers at a campground. I had originally made an excel spreadsheet for the owner where they could add how much each renter paid per month and I set it up in a way that it totaled each month and the whole year for him and displayed it like an accounting spreadsheet, with double underlines and the like. Now, he no longer has a copy of excel. I have set him up temporarily on google docs, but besides it not having all the functionality of excel, he doesn't trust it on the internet and has a hard time navigating to it.
What I'd like to do is create a program that would use forms to let him easily enter information, but display it either in the excel spreadsheet like he's used to seeing, or something that looks and prints pretty much the same.
I've seen people use SQL to work with access and excel. I'd like the connection string for that if anyone knows it. I have Visual Studio 2013 and I have Excel 2010 at home and work and 2013 at work.
My big question for you guys, that I can't find any information on is whether or not excel will work if I install the program on his computer that doesn't have excel installed? Does it work because it's part of the program? Can I only use the sheets and formulas that I set up when I created it? Can I generate new sheets using the program once it's installed on a pc that doesn't have excel installed on it? Thanks a lot for the help guys. I can't find information on this anywhere.
It depends what library you use. If you use Microsoft.Office.Interop.Excel than you will need to have the specific version of excel installed or at least a version that supports your interop assembly (my past experience was that it had to be exact).
The other option is to use another standalone third party library that reads the zipped XML files (.xlsx) and can manipulate it through that. Some libraries worth mention:
NPOI
EPPlus
ExcelLibrary

Converting powerpoint VBA add-in (.ppam) to COM add-in (.dll)

I have created a working Powerpoint add-in (.ppam) that offers several time saving features, and added a custom UI ribbon tab to improve accessibility.
As I look to distribute this add-in to users, I'm looking to improve code security by compiling it into a COM add-in (.dll) via VS Express.
I have looked all over the web for documentation on this, and have found some promising source, such as:
http://www.cpearson.com/excel/creatingcomaddin.aspx
Unfortunately, nearly everything I find appear to be quite outdated and based on Office XP or 2003, when I'm looking at Office 2010. I'm probably doing something wrong here, but I'm having trouble replicating their instructions on my end, running into errors like being unable to add a reference library or the code they suggest is not recognized. I actually am even unsure how to open for example the sample VB project that the Pearson site provides from the link above to imitate. I think all this may be because of the different versions of Office and Visual Studio, but could certainly be wrong.
Could anyone point me in the right direction? My understanding is that it's actually quite simple to convert the code from VBA to VB (just involves adding "Powerpoint.Application." in front of things like "activewindow"). So I just need to figure out how to convert a very simple VBA add-in into a COM add-in in VS Exp 2012 for Office 2010, and then can leverage the process to convert the full add-in.
Apologies if I'm using any of the terms incorrectly.

Excel vba project in VB.NET

I am now engaging in an excel vba project. It's a excel front interface for the workers in a site with an Access database in the company network. I dont like much the VBE in Excel 2007, so im wandering if I can do this with VB.NET, which seems to be a more adorable IDE. And where can I find some resources on this? Or recommanded books? Thanks!
Im using Excel 2007 et VB.NET 2008
You could also try Excel-DNA (free). There are many other products out there too. You can make it work with VB.Net Express also, you just need to add a reference to your excel SDK. Also, Add-in Express looks pretty nice. I've never tried it though (costs money).
I think you are looking for Visual Studio Tools for Office: VSTO.
This allows you to develop using VB.NET (or indeed C#) but with full access to the Office automation facilities.

Mac Office 2008 Development- AppleScript vs. VBA

I'm looking for some advice from anyone who has experience writing addons for PowerPoint on both Windows and Mac machines.
We have a Windows Office 2007 addon (.NET) that we'd like to port to the Mac.
Thus, in PowerPoint 2008 for the Mac, we require the following functionality:
Ribbon/Fluent extensibility
Custom Task Panes
Read/write custom document properties
Save slides as images
Read text and shape information from slides
Get notification of the following PowerPoint application events; `SlideSelectionChanged`, `PresentationClose` and `AfterPresentationOpen`.
I am hoping someone with experience writing Office addons for Windows and Mac, can advise.
This doesn't solve your problem if you need to specifically do this in 2008, but Office 2011 is coming and it brings back VBA. Spending the effort to convert your stuff to AppleScript might be a lot of work for little return where you could wait for Office 2011 which brings the Ribbon to Mac Office as well as VBA...
http://www.computerworld.com/s/article/9085678/Microsoft_will_bring_back_macros_to_Mac_Office_in_2011