<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments for Peltier Tech	</title>
	<atom:link href="https://peltiertech.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>https://peltiertech.com/</link>
	<description>Peltier Technical Services - Excel Charts and Programming</description>
	<lastBuildDate>Wed, 10 Aug 2022 19:10:24 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0.1</generator>
	<item>
		<title>
		Comment on Chart Events in Microsoft Excel by Jon Peltier		</title>
		<link>https://peltiertech.com/chart-events-microsoft-excel/#comment-1575899</link>

		<dc:creator><![CDATA[Jon Peltier]]></dc:creator>
		<pubDate>Wed, 10 Aug 2022 19:10:24 +0000</pubDate>
		<guid isPermaLink="false">https://peltiertech.com/?p=3819#comment-1575899</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://peltiertech.com/chart-events-microsoft-excel/#comment-1575751&quot;&gt;Assaf Levi&lt;/a&gt;.

Hi Assaf -

When you use the MouseDown or MouseUp events, you can identify which point was clicked on, ignoring the issue of what is usually selected in the absence of chart event code.

To select one point on the first click, you can use this modification to the MouseUp procedure:

&lt;pre&gt;&lt;code&gt;Private Sub Chart_MouseUp(ByVal Button As Long, ByVal Shift As Long, _
        ByVal x As Long, ByVal y As Long)
 
    Dim ElementID As Long, Arg1 As Long, Arg2 As Long
    Dim myX As Variant, myY As Double
 
    With ActiveChart
        &#039; Pass x &amp; y, return ElementID and Args
        .GetChartElement x, y, ElementID, Arg1, Arg2
 
        &#039; Did we click over a point or data label?
        If ElementID = xlSeries Or ElementID = xlDataLabel Then
            If Arg2 &gt; 0 Then
                &#039; Select Point Arg2 of Series Arg1
                .SeriesCollection(Arg1).Points(Arg2).Select
            End If
        End If
    End With
End Sub&lt;/code&gt;&lt;/pre&gt;

In general, when writing procedures to perform actions on Excel objects, it is not necessary to select those objects first. If this were my case, I would not the series and point, select the chart area, then do what I wanted with the point.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://peltiertech.com/chart-events-microsoft-excel/#comment-1575751">Assaf Levi</a>.</p>
<p>Hi Assaf &#8211;</p>
<p>When you use the MouseDown or MouseUp events, you can identify which point was clicked on, ignoring the issue of what is usually selected in the absence of chart event code.</p>
<p>To select one point on the first click, you can use this modification to the MouseUp procedure:</p>
<pre><code>Private Sub Chart_MouseUp(ByVal Button As Long, ByVal Shift As Long, _
        ByVal x As Long, ByVal y As Long)
 
    Dim ElementID As Long, Arg1 As Long, Arg2 As Long
    Dim myX As Variant, myY As Double
 
    With ActiveChart
        ' Pass x &#038; y, return ElementID and Args
        .GetChartElement x, y, ElementID, Arg1, Arg2
 
        ' Did we click over a point or data label?
        If ElementID = xlSeries Or ElementID = xlDataLabel Then
            If Arg2 > 0 Then
                ' Select Point Arg2 of Series Arg1
                .SeriesCollection(Arg1).Points(Arg2).Select
            End If
        End If
    End With
End Sub</code></pre>
<p>In general, when writing procedures to perform actions on Excel objects, it is not necessary to select those objects first. If this were my case, I would not the series and point, select the chart area, then do what I wanted with the point.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Remotely Trigger an Excel VBA Macro by Jon Peltier		</title>
		<link>https://peltiertech.com/remotely-trigger-excel-vba-macro/#comment-1575897</link>

		<dc:creator><![CDATA[Jon Peltier]]></dc:creator>
		<pubDate>Wed, 10 Aug 2022 18:49:13 +0000</pubDate>
		<guid isPermaLink="false">https://peltiertech.com/?p=9825#comment-1575897</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://peltiertech.com/remotely-trigger-excel-vba-macro/#comment-1575869&quot;&gt;Bao Duong&lt;/a&gt;.

Hi Bao -

There are two possible solutions to this.

One approach is to keep the workbook open and use Application.OnTime to run the code that checks for an update. You could use a short duration (short compared to the update frequency), for instance every minute, and it would seem almost continuous.

The other approach is to make use of new capabilities of Microsoft Office and OneDrive called PowerApps. These would detect and respond to changes to files. I have not tried these yet, so I don&#039;t know how smoothly they would interact with existing solutions.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://peltiertech.com/remotely-trigger-excel-vba-macro/#comment-1575869">Bao Duong</a>.</p>
<p>Hi Bao &#8211;</p>
<p>There are two possible solutions to this.</p>
<p>One approach is to keep the workbook open and use Application.OnTime to run the code that checks for an update. You could use a short duration (short compared to the update frequency), for instance every minute, and it would seem almost continuous.</p>
<p>The other approach is to make use of new capabilities of Microsoft Office and OneDrive called PowerApps. These would detect and respond to changes to files. I have not tried these yet, so I don&#8217;t know how smoothly they would interact with existing solutions.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on PBCharts Inflation Analysis by Robert Lalonde		</title>
		<link>https://peltiertech.com/pbcharts-inflation-analysis/#comment-1575893</link>

		<dc:creator><![CDATA[Robert Lalonde]]></dc:creator>
		<pubDate>Tue, 09 Aug 2022 15:06:40 +0000</pubDate>
		<guid isPermaLink="false">https://peltiertech.com/?p=12659#comment-1575893</guid>

					<description><![CDATA[Hi Jon,

Late on this post, but I wish I was back in my QA role from many years ago. This functionality would have made my life so much simpler.
I attended the Meetup launch and was impressed with the quality of the demo and the functionality.
Great stuff.

Bob]]></description>
			<content:encoded><![CDATA[<p>Hi Jon,</p>
<p>Late on this post, but I wish I was back in my QA role from many years ago. This functionality would have made my life so much simpler.<br />
I attended the Meetup launch and was impressed with the quality of the demo and the functionality.<br />
Great stuff.</p>
<p>Bob</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Diverging Stacked Bar Charts by Any way to make the following chart (pictured) in excel?		</title>
		<link>https://peltiertech.com/diverging-stacked-bar-charts/#comment-1575889</link>

		<dc:creator><![CDATA[Any way to make the following chart (pictured) in excel?]]></dc:creator>
		<pubDate>Mon, 08 Aug 2022 09:12:13 +0000</pubDate>
		<guid isPermaLink="false">https://peltiertech.com/?p=4855#comment-1575889</guid>

					<description><![CDATA[[&#8230;] There is a detailed, step-by-step tutorial about this called Diverging Stacked Bar Charts. [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] There is a detailed, step-by-step tutorial about this called Diverging Stacked Bar Charts. [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Remotely Trigger an Excel VBA Macro by Bao Duong		</title>
		<link>https://peltiertech.com/remotely-trigger-excel-vba-macro/#comment-1575869</link>

		<dc:creator><![CDATA[Bao Duong]]></dc:creator>
		<pubDate>Fri, 05 Aug 2022 13:23:09 +0000</pubDate>
		<guid isPermaLink="false">https://peltiertech.com/?p=9825#comment-1575869</guid>

					<description><![CDATA[That&#039;s a good solution. However, this solution is kind of &quot;pull&quot; solution which macro pulling the file to check for the update. If there would be a &quot;push&quot; solution (it&#039;s like a listener socket to trigger the macro) that would be great!]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s a good solution. However, this solution is kind of &#8220;pull&#8221; solution which macro pulling the file to check for the update. If there would be a &#8220;push&#8221; solution (it&#8217;s like a listener socket to trigger the macro) that would be great!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Chart Events in Microsoft Excel by Assaf Levi		</title>
		<link>https://peltiertech.com/chart-events-microsoft-excel/#comment-1575751</link>

		<dc:creator><![CDATA[Assaf Levi]]></dc:creator>
		<pubDate>Mon, 01 Aug 2022 11:34:41 +0000</pubDate>
		<guid isPermaLink="false">https://peltiertech.com/?p=3819#comment-1575751</guid>

					<description><![CDATA[Hi Jon,
First of all, thanks for the incredibly useful tutorial.
I would like to take an action directly when clicking a specific point within a chart series. Due to the way Excel charts work, the first click selects the entire series (i.e.: Arg2 is -1), and only upon the second click, the point is selected. Is there a way to get Excel to skip the entire series selection and directly select the point?]]></description>
			<content:encoded><![CDATA[<p>Hi Jon,<br />
First of all, thanks for the incredibly useful tutorial.<br />
I would like to take an action directly when clicking a specific point within a chart series. Due to the way Excel charts work, the first click selects the entire series (i.e.: Arg2 is -1), and only upon the second click, the point is selected. Is there a way to get Excel to skip the entire series selection and directly select the point?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Revenue Chart Showing Year-Over-Year Variances by Jon Peltier		</title>
		<link>https://peltiertech.com/revenue-chart-showing-year-over-year-variances/#comment-1575462</link>

		<dc:creator><![CDATA[Jon Peltier]]></dc:creator>
		<pubDate>Fri, 29 Jul 2022 16:08:50 +0000</pubDate>
		<guid isPermaLink="false">https://peltiertech.com/?p=6175#comment-1575462</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://peltiertech.com/revenue-chart-showing-year-over-year-variances/#comment-1575403&quot;&gt;Traci Abbey&lt;/a&gt;.

Hi Traci -

You cannot make this chart as a pivot chart, since it has some XY Scatter series, which are not supported in pivot charts. But you can &lt;a href=&quot;https://peltiertech.com/regular-charts-from-pivot-tables&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Make Regular Charts from Pivot Tables&lt;/a&gt;. You will have to work out dynamic ranges for when the pivot table changes size (see &lt;a href=&quot;https://peltiertech.com/dynamic-chart-using-pivot-table-and-range-names/&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Dynamic Chart using Pivot Table and Range Names&lt;/a&gt;.

Without seeing the data or knowing how you are pivoting or slicing the pivot table, it&#039;s hard to know why the chart is losing details. Did you mean that the chart was losing the data labels which show the percentage changes? I know that there is a bug in data labels that use Values from Cells, where if you make a point disappear (maybe the series becomes shorter) then reappear (the series becomes longer again), the reappearing point has lost the labels.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://peltiertech.com/revenue-chart-showing-year-over-year-variances/#comment-1575403">Traci Abbey</a>.</p>
<p>Hi Traci &#8211;</p>
<p>You cannot make this chart as a pivot chart, since it has some XY Scatter series, which are not supported in pivot charts. But you can <a href="https://peltiertech.com/regular-charts-from-pivot-tables" rel="noopener" target="_blank">Make Regular Charts from Pivot Tables</a>. You will have to work out dynamic ranges for when the pivot table changes size (see <a href="https://peltiertech.com/dynamic-chart-using-pivot-table-and-range-names/" rel="noopener" target="_blank">Dynamic Chart using Pivot Table and Range Names</a>.</p>
<p>Without seeing the data or knowing how you are pivoting or slicing the pivot table, it&#8217;s hard to know why the chart is losing details. Did you mean that the chart was losing the data labels which show the percentage changes? I know that there is a bug in data labels that use Values from Cells, where if you make a point disappear (maybe the series becomes shorter) then reappear (the series becomes longer again), the reappearing point has lost the labels.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Revenue Chart Showing Year-Over-Year Variances by Traci Abbey		</title>
		<link>https://peltiertech.com/revenue-chart-showing-year-over-year-variances/#comment-1575403</link>

		<dc:creator><![CDATA[Traci Abbey]]></dc:creator>
		<pubDate>Thu, 28 Jul 2022 20:28:47 +0000</pubDate>
		<guid isPermaLink="false">https://peltiertech.com/?p=6175#comment-1575403</guid>

					<description><![CDATA[This is amazing! I was wondering if you could figure out how to get it to work with a pivot table/slicer. It works when I first create it, but once I save it, close it, and re-open it I start losing percentages.
Thanks!

-Traci]]></description>
			<content:encoded><![CDATA[<p>This is amazing! I was wondering if you could figure out how to get it to work with a pivot table/slicer. It works when I first create it, but once I save it, close it, and re-open it I start losing percentages.<br />
Thanks!</p>
<p>-Traci</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Trendline Calculator for Multiple Series by Jon Peltier		</title>
		<link>https://peltiertech.com/trendline-calculator-for-multiple-series/#comment-1575185</link>

		<dc:creator><![CDATA[Jon Peltier]]></dc:creator>
		<pubDate>Mon, 25 Jul 2022 19:46:27 +0000</pubDate>
		<guid isPermaLink="false">https://peltiertech.com/?p=9719#comment-1575185</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://peltiertech.com/trendline-calculator-for-multiple-series/#comment-1575183&quot;&gt;Jon Peltier&lt;/a&gt;.

Chase sent me his workbook, and I discovered an issue with one of the series in the chart. The X values only had one cell:
=SERIES(&quot;.01-.02&quot;,Gauges!$DJ$2,Gauges!$DK$2:$DK$121,2)

When I changed the formula:
=SERIES(&quot;.01-.02&quot;,Gauges!$DJ$2:$DJ$121,Gauges!$DK$2:$DK$121,2)
the trendline calculator worked fine.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://peltiertech.com/trendline-calculator-for-multiple-series/#comment-1575183">Jon Peltier</a>.</p>
<p>Chase sent me his workbook, and I discovered an issue with one of the series in the chart. The X values only had one cell:<br />
=SERIES(&#8220;.01-.02&#8221;,Gauges!$DJ$2,Gauges!$DK$2:$DK$121,2)</p>
<p>When I changed the formula:<br />
=SERIES(&#8220;.01-.02&#8221;,Gauges!$DJ$2:$DJ$121,Gauges!$DK$2:$DK$121,2)<br />
the trendline calculator worked fine.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Comment on Trendline Calculator for Multiple Series by Jon Peltier		</title>
		<link>https://peltiertech.com/trendline-calculator-for-multiple-series/#comment-1575183</link>

		<dc:creator><![CDATA[Jon Peltier]]></dc:creator>
		<pubDate>Mon, 25 Jul 2022 18:54:41 +0000</pubDate>
		<guid isPermaLink="false">https://peltiertech.com/?p=9719#comment-1575183</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://peltiertech.com/trendline-calculator-for-multiple-series/#comment-1575181&quot;&gt;Chase&lt;/a&gt;.

Chase -

I just tried this; my chart has 14 series, and I chose four of them to include in the regression. The SERIES formula of the combined series correctly includes the four chosen series, and the regression looks good.

Is it possible to share the workbook with the various charts?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://peltiertech.com/trendline-calculator-for-multiple-series/#comment-1575181">Chase</a>.</p>
<p>Chase &#8211;</p>
<p>I just tried this; my chart has 14 series, and I chose four of them to include in the regression. The SERIES formula of the combined series correctly includes the four chosen series, and the regression looks good.</p>
<p>Is it possible to share the workbook with the various charts?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
