Changing the default source of linked picture - excel

I'm making a a dashboard and I've linked a picture so I can scroll between my various support groups and the charts live update, this works fine. The problem is I'm trying to add a year selection Combo Box so I can show various years. I can't seem to make the Combo Box's link. What I have currently:
What I require:
Is this even possible in Excel?
I'm not sure if you can change the fixed image that I have linked by the first box.

Related

Acumatica - Changing textbox Font Color based on value

I've been trying to modify the Projects (PM301000) screen summary area to change the font color of the totals to red when it's in negative value but I can't make it work. I've tried several javascript codes and saw that this is working on a button Dynamically Change Button Color
but I can't make it work on the PXNumericEdit control specifically the totals in the Projects screen.
Projects screenshot
Any idea on how to make it work? Thank you.
You should try changing the CSS via an event handler in the aspx code behind file. See this article

Clicking checkbox on an intranet web page not working in VBA using Internet Explorer 11

I am stuck at a specific point in coding VBA. Using VBA I am logging onto an Intranet portal which is a file management system and opening a series of dynamic web pages one after the other. Using VBA I am trying to get a checkbox element checked. Once this element is checked, all sub-elements appearing in a table below get checked automatically. After this I need to initiate download of all the selected files. However, I cannot get the checkbox element "checked".
Here is the HTML as it appears on the web-page. I cannot share the link as it is intranet and confidential.
Link to the HTML as I am not allowed to post images yet
Here is my VBA code:
Set inpute = objIE.Document.queryselector("div[id=gridx_Grid_2] div div div table tbody tr td span[aria-checked=false]")
inpute.setAttribute("aria-checked") = True
inpute.Click
When the above code is run, the "aria-selected" attribute changes to "true" in the HTML but Click has no effect on the checkbox.
I have tried using the getElementbyClassName method and using Click after that to no avail.
Please help me out on this issue. Do let me know in case you need any other information.
This solution from Zwenn worked perfectly:
First of all, a checkbox has no click event. On topic: Because the whole List of other checkboxes will be marked by marking the one in question, I'am pretty sure the one in question triggers a HTML event like change when you mark it manually. You must check which event it is and trigger it with VBA. You can look for the event with FireFox or Chrome, but not with the IE. Look here how to do that and how to handle with events:
Automate IE via Excel to fill in a dropdown and continue
– Zwenn 14 hours ago

Interactive drop down box on excel

I’m sure this is a really basic question for pro’s but I’m struggling to find the information online.
I’m creating a excel form which is a questionnaire. I want to create a drop down box where by selecting one of the outcome populated more boxes.
For example the drop down box will have the option for ‘house’ and ‘flat’. If you select ‘house’ it brings up further questions/text boxes relating houses and if you select ‘flat’ it brings up further questions/text boxes about flats
Can anyone help?

Excel - how to hide value in a chart's datalebel

I have embedded an image to a chart's datalabel. I want to only keep the image and not the value which appears on top of the image.
However I'm not sure how i can get rid of the value to only show the image?
I thought could've set the font colour to transparent but that's not available. I also played around with the number formatter but had no luck?
I'm using Windows/Excel 2010
Thanks
Clicking on one of the data labels once will select all of them, clicking a second time will select only the one you clicked on. Then just hit the delete button. (You should also be able to edit the font/colour in the Home tab.)

Dynamically change chart after clicking an icon in Excel

I am doing a dashboard. To resolve the problem with the space, I would like to show a chart which changes depending of which icon an user clicks (see image in following link: http://screencast.com/t/IvzllhxCi).
Charts are already done and ranges defined. The chart showed in the dashboard was inserted using the "Paste picture link" function (sorry if this is not the correct name, but I use Excel in spanish). I assume, that the best way to do it is creating different macros which define the data of a chart and are fired which every icon click, but... is there a more efficient way to do it?
How about just creating all the charts, putting them on top of each other and then showing / hidding the appropriate chart when a user clicks the icons via:
chart.Visible = xlSheetHidden;
And
chart.Visible = xlSheetVisible;

Resources