ImageComboBox for VBA Excel - excel

Is it possible to use images inside a ComboBox instead of strings? I've seen post regarding the ImageComboBox control but it seems that I couldn't find any resource how and where to download the said control so I could use it in my project that I'm working on.
Thanks all.

To be able to use the Image Combo Box, you have to do the following:
Insert the control from the Insert menu on the developer tools tab:
If you press the highlighted button, a new menu appears.
Search for "Microsoft ImageComboBox Control, version XX"
Then you are able to insert the desired combobox.

Related

Set collection to selected values in Power Apps form when opened in edit mode

I have a SharePoint list-integrated Power Apps form.
I have a multi-select combobox called DataCardValue4 (which is hidden) that comes from a choice on the SharePoint list.
I need to put the selected values of this combobox into a collection when the form is edited.
On SharePointIntegration, on Edit, I have:
ForAll(DataCardValue4.SelectedItems, Collect(colVehiclesRequested,ThisRecord.Value));
This works fine when the user opens the form and puts it in edit mode manually. Unfortunately, I have a Power Automate flow which gives a link that opens the form in edit mode directly.
When the form is opened in edit mode, DataCardValue4.SelectedItems is empty at the time of SharePointIntegration on edit.
Is there another way to do this? Is there another place to put this further down the lifecycle so it will work properly?
I guess I'm kind of looking for the document.ready version of a Power Apps-integrated form.
I'd try to put your formula into the Screen.OnVisible property with some conditional wrapping. This would make sure it (also) runs when it is opened directly.
I had the same issue, I added the code in the App.OnStart

Scroll bar in Excel 2016 on Mac

So, I wanted to make a scroll bar in Excel, but failed due to inaccessibility of Developer tab in excel. I tried to click with the right click on the Excel menu tab but it didn't react in no way, also I tried to press Ctrl + Right click of the scroll bar on the Mac, but either way the pop up menu where you can choose to Customize the ribbon didn't appear. I ready on several how-to's that there is a Excel options where you can access Developer tab, but I simply don't have "Options" on File tab. I am using Excel 2016 on Mac. by the way, I need this scroll bar to control whether the user inputs more than max first payment for the loan ( Max first payment depends on why the loan has been taken). Maybe some of you knows better way to check whether the input is valid?
I use Excel for Mac, developer tab is available as follows:
From the menu bar, Excel > Preferences > View > 'In Ribbon Show' (Developer Tab)
If it isn't there the Excel Preferences window has a search function, try searching 'developer'.
Good luck, hope you find it.
Well I found a solution to your Issue. Most times so many tabs are left out due to the average consumer not using them. I simply navigated to the FILE tab at the top left corner of Excel (2013), click on Options and clicked on Customize Ribbon.
You should fine the Developer Tab unclicked. Below are some screenshots to help out. Hope
this helps.
This Image Shows the File Button
This image shows the Options button and the Customize Ribbon Button

CRM 2011: enable/disable a ribbon button on condition

I am new to CRM and I have an exiting ribbon button. I want to disable it on condition (Field1 is null or not).
So far, I have created an new solution and included the required entity.
Exported the solution and tried to change the configuration.xml.
I have tried to make change under . But without any luck.
Can anyone help me out with an example.
Thanks in advance.
Don't edit it by hand. Use The Visual Ribbon Editor Tool. Makes things much nicer to deal with than hand editing the xml.
If you want to setup a button to be enabled if new_field1 (capitalization matters so make sure it's correct with what your field's actual name is) is not null, here is what you would do:
Open up the ribbon editor
Conenct to your org
Select your entity with the ribbon button you want to enable/disable
Click on your button
Click the Enable Rules tab
Enter the field name exactly as it appears in the customization section of your solution within CRM in the Field text box.
Enter "null" (without the quotes) for the value. Lower case.
Skip Default (if you have some custom forms where the field does not exist, you may want to give it a default value)
Change Invert Result to true.
Click the "Save" button at the very top. (don't click the save button on the main tab of the ribbon)
Verify that it is getting deployed and published.
Test it out.
Edit: Use Ribbon Workbench For System Ribbons
I've never used it, but the Ribbon Workbench says it can customize system buttons.

Custom shortcut for a ribbon button

I want users to be able to copy product number from the main grid of Products entity.
For this I added the button that does a request for product number and puts it into clipboard with window.clipboardData.setData('text', 'P/N').
But to make it easier ribbon button must have a shortcut (Ctrl+C).
How can I assign shortcut to a button in a supported way?
What are my unsupported options?
The only options I know of is
1) Inside IE, you can use the execCommand('copy') feature. You'll have to highlight the text inside a textbox to actually copy it though.
2) Use the flash add in ZeroClipboard
https://github.com/jonrohan/ZeroClipboard
Either way, it's unsupported really.

"Hidden" columns in Sharepoint 2007

I'm trying to make a custom list for inquiries, where users will fill in some information such as "Name", "Reason" etc. When they've finished filling in the information and added the item, the administrator will then go through the item, and fill in some new columns that the user hasn't been able to fill in.
I hope you understand me, otherwise you're more than welcome to ask questions!
With SharePoint designer 2007, you can use the SPSecurityTrimmedControl who enable you to show/hide form field (or site action...).
Syntax :
<SharePoint:SPSecurityTrimmedControl PermissionsString="ManageLists" runat="server">
WHAT_YOU_WANT_TO_HIDE_HERE
</SharePoint:SPSecurityTrimmedControl>
For the PermissionsString, all values HERE
You'll need to use SharePoint Designer. You will create custom new and edit forms. This way when the user fills in the new form, only certain fields will appear. Then when the administrator edits the item using the edit form, they will have access to more fields.
Please see this link for more information.
Try making a copy of the form you wish to edit by copying and pasting to the same folder. Then click on the web part for the form and the code above will highlight . Look for tags IsVisible and change it from "true" to "false". This will hide the default form. Do not delete the original form.
Click on the web part in the design view then press your right arrow. This will move the cursor to right after the web part but still within the web part zone. Go to the Insert menu, select SharePoint Controls then Custom List form. A small dialog window will appear, select the list name from the first drop down, then select the content type from the second drop down. Finally select which form you want to insert, New, Edit or Display. Click OK. The new form will be displayed under the default form, and you will then see all of the fields in order and you can add or remove as you like.
If one did not want to edit the pages, couldn't one use Jquery to hide the fields? I have done this with SPservices. to check the user credentials if you will and then if matched display the hidden fields... all this is done from a web part...just a thought...I actually learned something great today.. great replies.

Resources