<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Excel on Remko's Blog</title><link>https://remkoweijnen.nl/blog/tags/excel/</link><description>Recent content in Excel on Remko's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 22 May 2013 11:36:48 +0000</lastBuildDate><atom:link href="https://remkoweijnen.nl/blog/tags/excel/index.xml" rel="self" type="application/rss+xml"/><item><title>Programmatically set Excel LinkedCell property with VBA</title><link>https://remkoweijnen.nl/blog/2013/05/22/programmatically-set-excel-linkedcell-property-with-vba/</link><pubDate>Wed, 22 May 2013 11:36:48 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2013/05/22/programmatically-set-excel-linkedcell-property-with-vba/</guid><description>&lt;p&gt;Yesterday I was working with an Excel document that contained Combobox form controls.&lt;/p&gt; &lt;p&gt;I wanted to count the number of cells containing a particular value using the &lt;a href="http://office.microsoft.com/en-001/excel-help/countif-function-HP010342346.aspx" target="_blank"&gt;COUNTIF&lt;/a&gt; formula. However the count returned 0 because the LinkedCell property of the Combobox was not set to the Cell that contained the Combobox.&lt;/p&gt; &lt;p&gt;To set the LinkedCell Ctrl-Click the Combobox to select it, right-click and select Format Control. Then set the correct Cell in the Cell link field:&lt;/p&gt; &lt;p&gt;&lt;a class="glightbox thickbox" href="https://remkoweijnen.nl/blog/wp-content/uploads/2013/05/SNAGHTML18f5a4ba.webp" data-type="image" data-gallery="post-3229"&gt;&lt;img loading="lazy" decoding="async" style="display: inline" title="SNAGHTML18f5a4ba" alt="SNAGHTML18f5a4ba" src="https://remkoweijnen.nl/blog/wp-content/uploads/2013/05/SNAGHTML18f5a4ba_thumb.webp" width="240" height="226" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;My sheet contained about 150 Comboboxes, so obviously I was going to do this using a script. I couldn't find anything useful with Google so I wrote my own Macro.&lt;/p&gt;</description></item><item><title>Excel 2010 multi-threaded calculation</title><link>https://remkoweijnen.nl/blog/2012/06/08/excel-2010-multi-threaded-calculation/</link><pubDate>Fri, 08 Jun 2012 13:21:19 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/06/08/excel-2010-multi-threaded-calculation/</guid><description>&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/01/image10.webp" class="glightbox" data-type="image" data-gallery="post-2642"&gt;&lt;img loading="lazy" decoding="async" style="display: inline; float: right" title="Excel 2007 Icon" alt="Excel 2007 Icon" align="right" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/01/image_thumb10.webp" width="67" height="65" /&gt;&lt;/a&gt;I was just browsing through the Options tab in Excel 2010 when I noticed the following setting:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/06/image2.webp" class="glightbox thickbox" data-type="image" data-gallery="post-2642"&gt;&lt;img loading="lazy" decoding="async" style="display: inline" title="image" alt="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/06/image_thumb2.webp" width="318" height="113" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;p&gt;This feature was introduced in Excel 2007. &lt;br /&gt;In the default settings, multi-threaded calculation is Enabled with &amp;quot;Use all processors on this computer&amp;quot;.&lt;/p&gt; &lt;p&gt;On a physical desktop this would be the preferred setting since it will make formula calculation as fast as possible.&lt;/p&gt;</description></item><item><title>Session freeze when starting Excel</title><link>https://remkoweijnen.nl/blog/2012/02/20/session-freeze-when-starting-excel/</link><pubDate>Mon, 20 Feb 2012 15:42:25 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/02/20/session-freeze-when-starting-excel/</guid><description>&lt;p&gt;&lt;strong&gt;Environment&lt;/strong&gt; &lt;br /&gt;Windows 2003 Enterprise (32 bit), Citrix XenApp 5, RES Workspace Manager 2011, McAfee VirusScan Enterprise 8.7.0i.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Problem&lt;/strong&gt; &lt;br /&gt;When a opening an Excel workbook from Sharepoint the whole session freezes.&lt;/p&gt; &lt;p&gt;I asked the user to open an Excel workbook from Sharepoint and I noticed the following popup:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/02/image7.webp" class="glightbox" data-type="image" data-gallery="post-2450"&gt;&lt;img loading="lazy" decoding="async" style="display: inline" title="Message from webpage" alt="Some files can harm your computer. If the file information looks suspicious or you do not fully trust the source, do not open the file | You are opening the following file: | File name: My Workbook.xls | From: Sharepoint" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/02/image_thumb7.webp" width="415" height="97" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;So my first thought was that the user somehow clicked this message to the background and IE was waiting for a response.&lt;/p&gt;</description></item><item><title>The XLSploit explained</title><link>https://remkoweijnen.nl/blog/2012/02/12/the-xlsploit-explained/</link><pubDate>Sun, 12 Feb 2012 23:36:34 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/02/12/the-xlsploit-explained/</guid><description>&lt;p&gt;Recently I published a &lt;a href="https://remkoweijnen.nl/blog/2012/01/27/bypassing-res-application-security/" target="_blank"&gt;Proof of Concept&lt;/a&gt; that showed it was possible to launch unauthorized processes with both AppSense Application Manager and RES Workspace Manager.&lt;/p&gt;
&lt;p&gt;Although I didn&amp;rsquo;t test Microsoft Applocker I have no doubt at all that we couldn&amp;rsquo;t bypass it.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/02/image1.webp" class="glightbox" data-type="image" data-gallery="post-2392"&gt;&lt;img loading="lazy" decoding="async" style="display: inline; float: right;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/02/image_thumb1.webp" alt="image" width="100" height="97" align="right" /&gt;&lt;/a&gt;I have named my Proof of Concept the &lt;strong&gt;XLSploit&lt;/strong&gt; because I am using Excel as a trampoline. I choose Excel because this is generally a trusted process and VBA offers access to the Windows API that is needed.&lt;/p&gt;
&lt;p&gt;After publishing the XLSploit I have talked to both &lt;a href="http://www.ressoftware.com/" target="_blank"&gt;RES&lt;/a&gt; and &lt;a href="http://www.appsense.com/" target="_blank"&gt;AppSense&lt;/a&gt; and not that they both have a response to my Proof of Concept, I consider it safe to tell a little more about how it works.&lt;/p&gt;
&lt;p&gt;If you are merely interested in stopping the XLSploit, please scroll down to the end of the article.&lt;/p&gt;</description></item></channel></rss>