Identify selected chart in Excel Add-In - excel

Is there a way to identify which chart has the user selected, parallel to the way to identify the selected range (workbook.getSelectedRange()) in Excel, in an Office Add-in?
Further, is there a way to identify which range the chart is based on?
I couldn't find anything that would let me do this in the Excel JS API Reference.

No to both. However, they are on our roadmap (no dates yet)

Both are in our plan and you should be able to see it soon this year.

Related

Alternative formulas for vba script

I made a VBA function which turns my raw data into a table format since I want to use a pivottable for charts. The problem is that my file need to run on excel online and VBA is not running in a cloud environment.
Is there a way to do this with functions/power query/...
Thanks in advance
Took a while but i managed. It is in fact Excel online compatible Each formula is displayed above the corresponding column. I added some data to make sure it could handle extra data.
=IF(F8<>"",ROWS($G$7:G7),NA#)
=AGGREGATE(15,6,$G$8:$G$32,ROWS($G$7:G7))
=IF(ISNUMBER(H8),IF(ISTEXT(INDEX($B$6:$C$32,H8,1)),INDEX($B$6:$C$32,H8,2),I7),"")
=IF(ISNUMBER(H8),IF(ISTEXT(INDEX($C$7:$D$32,H8,1)),INDEX($C$7:$D$32,H8,2),J7),"")
=IF(ISNUMBER(H8),INDEX(E$8:E$32,$H8),"")
=IF(ISNUMBER(H8),INDEX(F$8:F$32,$H8),"")

How to inject excel data to embed powerpoint chart with VBA

I want to know how we can inject excel data into embed powerpoint chart.
Any information that I search taught me how to do it, but with create new presentation. I need to update the existing chart from powerpoint using data from excel.
And the method should not be update link or something. Because I deal with more than hundred charts, I'm afraid linked method will take huge resource that cannot handle by my device. The other reason is I need to keep the chart editable in powerpoint (something that cannot done with paste link method).
Any suggestion?
Thanks
it depends of the version of you office. I have 2016 office, so it is very simple to do
these are the steps
Go to INSERT and lok for "Tables", then the opcion called (excel)
An excel view is going to open, then in the sheets you can inser your information, make a table format also
In the excel view the go to Insert, Recommended graphics and select the one you want
here some photos
step 1
excel view

Office-JS Excel functionalities (named range, style, union, etc)

I'm looking to port an existing VSTO application to an Office 365 web addin.
So far, many of the features I need are available as-of Excel API v1.1. But there are a few that I can't seem to find.
Creating a named range
Workbook.Names.Add(name, range);
Deleting a named range
NamedRange.Delete();
Resizing a ListObject
ListObject.Resize(range);
I can work around this by converting the table to a range, and recreating the table again. But I lose any existing formatting/conditional formatting
Set Range's style
Range.Style = "Accent1";
Group Range rows
Range.Rows.Group();
Indent Range
Range.InsertIndent(indentAmount);
Union of 2 ranges
Application.union(range1, range2);
Usage: highlighting 2-or-more non-contiguous ranges
Of all the above functionalities, I need creating/deleting named ranges the most.
I need workbooks generated by the OfficeJS addin to be readable by my VSTO addin, and vice-versa. Last time I checked, names added via document.bindings.addFromNamedItemAsync() (as proposed here) are not accessible in VSTO.
Was wondering if these features are buried somewhere in the API that I've missed. If not, where do I go from here?
Thanks for your feedback.
Feel free to submit further feature requests for our APIs at https://officespdev.uservoice.com/ and we will consider them for future API releases.
-Philip, Developer on the Microsoft Office Extensibility team

Multiuser in excel 2010

I am new to this stackoverflow and i can say that its a very interesting and resourceful website.
I need to share a workbook on a network and as you already know the workbook must not contain any table or XML maps but i prefer to use a table because it is an expandable range. Information are extracted from this table via formulas.
Is there any work around possible to share the workbook with the table included?
I do not want to use formula for an expandable range in order to maximize the efficiency of the workbook because there are already lots of formula in the workbook.
Besides what is the maximum number of users that can access the workbook at the same time, with each user having access to only one worksheet
Thanking you in advance for your precious help.
Best Regards
Jack
Here has:
Note first and last entries in the image.
And that it was the first hit to the Google query Excel 2010 spec
so please see also the first bullet point here.

LastDate-time when cell has been modified

I have excel spreadsheet
I am looking to know date-time when my excel cells have been modified last time.
Can I do it in Excel or Access?
If yes, what function I can use?
Thanx!
in Excel, you can Track Changes
This opens up the workbook for sharing, and you can even tell Excel to track specific cells, and if you want your changes tracked or not.
This is an example of what you see when values are changed:
You can use this Track Changes feature to find out the last modifier date of a cell and find who the user was.
How to Track Changes in Excel 2007
http://www.online-tech-tips.com/ms-office-tips/track-changes-in-excel/

Resources