Is there a way to plot every 2nd point in Excel using VBA and not involving use of extra columns? Thanks.
I'm guessing you are plotting points to a line graph. Correct? If that's the case I wouldn't use VBA at all. Just make a custom range name selecting every other point. If you explain your situation a little better I might be able to help.
Related
I am attempting to create the graph below. Currently it is being completed manually.
The top table is the complete data set.
The second table is formulated to get me the top 3 that I would want on my data label.
I am struggling to come up with a solution to blend the 2 together so that I can get the result on the bottom. Any help would be appreciated!
I am okay to accept a solution with or without VBA, while without is strongly preferred!
Kindly see piture below of problem.
To close the loop on this question. I could not figure out without vba. Using VBA, I added conditional formatting for the top 3 ranks, then added data labels based on the formatting.
By default, Excel prints the worksheets from left to right. Is it possible to change this?
So far, I didn't find any solution. The only thing left is to move the sheets according to the order I want, but I am looking for a more elegant way to do it.
this might be a stupid question but I need some insight
I currently already create an excel file with openpyxl. But now, I would like to add a visualization on the 4th column
I want to create a visual for two points like shown below
Pretty much a scale that shows the two points between actual vs reference. I don't know what to call this chart, but I found something really similar with sparkline (which is not what I am looking for).
Does anyone have any suggestion on what tool to use that can create this type of visualization when writing the file with python?
thank you
I'm currently trying to figure out a way to change the measurement values of a AutoCAD drawing (plot/printed). I have 1 drawing with multiple parts, but the only thing that needs to be changed (almost weekly) and that is the values of some measurements for these parts.
I've looked to Excel for a way to make a sheet where i can fill in these values and they get changed instantly. It can be an .PDF file that gets changed, the drawing needs to be printed anyway so no direct insert into AutoCAD needed.
Any tips or advice is welcome!
Cheers,
NvG
I need to feed data into a line chart with VBA. I need to give a basic unidimensional range when I do it with Excel in a raw test. The thing is that now I need to hide some things in VBA code, so that the user just sees a curve resulting of some basic input at the click of a button.
I think there are at least two options for me :
either have the chart object placed in the Excel before, and having it point to some VBA snippet. In this case, should I somehow point to VBA from Excel ? Or would VBA access the chart area by some ID ?
create everything dynamically from VBA, the chart window, the chart, and the series input. This might be trickier to figure out maybe as I have frozen panes, so there would be the question of which pane is active (I'd like to avoid to have to do Selects to select the right one)
What would you recommend ? And in either case, how to actually do it ? What type of data to put in ?
Thank you so much !
I was involved in a project a couple of years ago that might be relevant.
A report was created monthly for the organisation's management board which contained dozens of charts. It was a near full time job for a statistician to collate and process data from across the organisation that provided the source data for these charts. I was asked to automate what could be automated.
It became clear that the appearance of the chart could not be automated. The statistician and the management board's staff held regular discussions and often agreed minor changes which they thought would better present the organisation's performance.
I could automate the collection of the data, its processing and placing of the results in the ranges from which the charts got their data. The most I ever did with a chart was change the size of a source range.
What would be the parameters that would control your macro's changes to a chart? How would your macro get the determine: type of chart, nature of the axes, text, etc?
Hope these thoughts help. I could look out my notes if my experience seems particularly relevant.