I have worksheet ActiveX ComboBoxes in my file (Excel VBA 2019) that are not working on a Mac computer. Is there any way that I can get these to work on a Mac?
I know I can use Form Controls that will work on a Mac, but a Forms ComboBox doesn't allow me to center the alignment of the text in the drop-down.
Any suggestions appreciated.
ActiveX is an obsolet old Windows technology that is not available on Mac and is recommended to avoid in Windows. Further sources: Enable ActiveX on MacOS?
ActiveX is known to have many bugs and cause many strange issues in Windows. I would stay away from it as far as possible and use alternatives.
The solution is using Form Controls.
Related
I am developing some macros in VBA for Mac PowerPoint. I would like to add some keyboard shortcuts to some of them, but it looks like the Application.OnKey module is not present.
Am I missing something or it looks like this is not possible at all on Mac?
The object model in current versions of PowerPoint for Mac is quite poor. It seems like every project I try to port to it from Windows has some object missing. Today, I found that custom Ribbon modifications can't run VBA macros in PowerPoint for Mac, though the same file works in Windows and identical mods in Word and Excel work on both Windows and Mac. So I'm not surprised that you've discovered another missing object. Please report it to Microsoft using the smiley-face icon in the upper right.
I am using MAC OS Mojave 10.14 and Excel version 16.19. I am trying to use the VBA editor to create macros. However, whenever I insert a userform and try to change its properties (such as color, font, etc.) or when I click on an object to complete the word by using list constants, Excel terminates itself and gives this error.
Is there any reason for (or a possible solution to) this problem?
The version you provided means you have Office 2019, not Office 2016.
The ability to insert and edit userforms is not yet supported. Microsoft accidentally turned this capability on for a few users, but the feature isn't even ready for testing, yet. It will come along pretty soon, though, as you can see that quite a bit of the interface is built.
Can anyone help me in allowing use of form controls using excel in my android tablet? and how can i change protection in the excel in tablet? i cannot open review tab in the tablet. Thanks.
Pretty sure the short answer to both your questions is send it to a
computer. On a computer remove protection and make any changes with form controls required and then resend to your tablet.
You will need Office 365 on your tablet to get the maximum use of features though these additional features seems to be limited, for Excel, to SmartArt.
Without 365, and with protection removed (via computer), you should be able to access the review tab on your tablet and add, for example, worksheet protection. The latter bit is according to Microsoft Support (case reference 1419182369). I haven't been able to test as I don't have a tablet.
As far as I could find out, the workbooks with form controls are now "enabled" - basically, these files will open but there will be placeholders where these controls are; as opposed to functional objects.
See here for information: https://excel.uservoice.com/forums/304939-excel-for-android/suggestions/15075030-support-form-controls
Further help information around Android Tablet Excel features:
https://support.office.com/en-us/article/excel-for-android-tablets-help-5f089a58-dfa5-4cdb-b93b-55deb638a469
The current ideas proposed for Android Excel in relation to Macros and Add-Ins:
https://excel.uservoice.com/forums/304939-excel-for-android?category_id=143592
I have been scouring the internet all afternoon trying to see why I can't get an Excel VBA form that works on my 32bit Excel 2003 to work on Excel 2010 which is 64bit.
From what I'm finding, IT CAN'T WORK. Is this really correct?
If so, are there any alternatives to use for listview in Excel 64bit?
Yes, it is correct. See this article at microsoft.com, specifically:
Native 64-bit processes in Office 2010 cannot load 32-bit binaries. This includes the common controls of MSComCtl (TabStrip, Toolbar, StatusBar, ProgressBar, TreeView, ListViews, ImageList, Slider, ImageComboBox) and the controls of MSComCt2 (Animation, UpDown, MonthView, DateTimePicker, FlatScrollBar).
Using Microsoft Excel 2010, I noticed two kind of controls that can be inserted into a document: Form Controls and ActiveX Controls.
What is the difference between them?
Google is full of information on this. As Hans Passant said, Form controls are built in to Excel whereas ActiveX controls are loaded separately.
Generally you'll use Forms controls, they're simpler. ActiveX controls allow for more flexible design and should be used when the job just can't be done with a basic Forms control.
Many user's computers by default won't trust ActiveX, and it will be disabled; this sometimes needs to be manually added to the trust center. ActiveX is a microsoft-based technology and, as far as I'm aware, is not supported on the Mac. This is something you'll have to also consider, should you (or anyone you provide a workbook to) decide to use it on a Mac.
One major difference that is important to know is that ActiveX controls show up as objects that you can use in your code- try inserting an ActiveX control into a worksheet, bring up the VBA editor (ALT + F11) and you will be able to access the control programatically. You can't do this with form controls (macros must instead be explicitly assigned to each control), but form controls are a little easier to use. If you are just doing something simple, it doesn't matter which you use but for more advanced scripts ActiveX has better possibilities.
ActiveX is also more customizable.
It's also worth noting that ActiveX controls only work in Windows, whereas Form Controls will work on both Windows and MacOS versions of Excel.
Be careful, in some cases clicking on a Form Control or Active X Control will give two different results for the same macro - which should not be the case. I find Active X more reliable.