<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.timesnapper.com/index.php?action=history&amp;feed=atom&amp;title=Excel_lookups</id>
	<title>Excel lookups - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.timesnapper.com/index.php?action=history&amp;feed=atom&amp;title=Excel_lookups"/>
	<link rel="alternate" type="text/html" href="https://wiki.timesnapper.com/index.php?title=Excel_lookups&amp;action=history"/>
	<updated>2026-05-08T15:08:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://wiki.timesnapper.com/index.php?title=Excel_lookups&amp;diff=376&amp;oldid=prev</id>
		<title>LeonBambrick at 13:05, 10 June 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.timesnapper.com/index.php?title=Excel_lookups&amp;diff=376&amp;oldid=prev"/>
		<updated>2010-06-10T13:05:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:05, 10 June 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Multi-billion dollar companies &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;using &lt;/del&gt;Excel for their most crucial tasks. And so can you.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Multi-billion dollar companies &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;use &lt;/ins&gt;Excel for their most crucial tasks. And so can you.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following is a tutorial on how to use an excel file as the datastore behind &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;your &lt;/del&gt;lookups.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following is a tutorial on how to use an excel file as the datastore behind &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;lookups &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;functionality in TimeSnapper&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;excel spreadsheet &lt;/del&gt;we&amp;#039;re going to use is very simple and looks like this:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Excel Spreadsheet &lt;/ins&gt;we&amp;#039;re going to use is very simple and looks like this:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Excel_As_Database_0.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Image:Excel_As_Database_0.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>LeonBambrick</name></author>
	</entry>
	<entry>
		<id>https://wiki.timesnapper.com/index.php?title=Excel_lookups&amp;diff=374&amp;oldid=prev</id>
		<title>LeonBambrick: New page: Multi-billion dollar companies using Excel for their most crucial tasks. And so can you.  The following is a tutorial on how to use an excel file as the datastore behind your lookups.  The...</title>
		<link rel="alternate" type="text/html" href="https://wiki.timesnapper.com/index.php?title=Excel_lookups&amp;diff=374&amp;oldid=prev"/>
		<updated>2010-06-10T12:53:46Z</updated>

		<summary type="html">&lt;p&gt;New page: Multi-billion dollar companies using Excel for their most crucial tasks. And so can you.  The following is a tutorial on how to use an excel file as the datastore behind your lookups.  The...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Multi-billion dollar companies using Excel for their most crucial tasks. And so can you.&lt;br /&gt;
&lt;br /&gt;
The following is a tutorial on how to use an excel file as the datastore behind your lookups.&lt;br /&gt;
&lt;br /&gt;
The excel spreadsheet we&amp;#039;re going to use is very simple and looks like this:&lt;br /&gt;
&lt;br /&gt;
[[Image:Excel_As_Database_0.png]]&lt;br /&gt;
&lt;br /&gt;
In TimeSnapper we&amp;#039;re going to configure the application to use that spreadsheet as the source of our lookups.&lt;br /&gt;
&lt;br /&gt;
On the options form select the &amp;#039;integration tab&amp;#039; and look at the task lookup integration area.&lt;br /&gt;
You can set the connection string right there, or continue to details and paste it straight in, if you prefer.&lt;br /&gt;
[[Image:Excel_As_Database.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select the ellipsis beside the connection string, and you can use the &amp;#039;Datalink properties&amp;#039; wizard to describe the connection you want to make. &lt;br /&gt;
[[Image:Excel_As_Database_2.png]]&lt;br /&gt;
&lt;br /&gt;
(Alternatively, just write the connection string and paste it straight in. It may look something like this:&lt;br /&gt;
&lt;br /&gt;
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Leon\Documents\Excel_Example2.xls;Extended Properties=Excel 8.0;Persist Security Info=False&lt;br /&gt;
&lt;br /&gt;
(Your file name and location may of course be different)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The provider we&amp;#039;re using for excel is the &amp;#039;Microsoft.Jet.OLEDB.4.0&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:Excel_As_Database_2_1.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the &amp;#039;database name&amp;#039; enter the name and path to your excel spreadsheet.&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m told that this provider can connect to both xlsx and xls files. Personally I haven&amp;#039;t succeeded at connecting to an xlsx file, so i just saved as the older .xls file (Excel 97/2003 format). &lt;br /&gt;
&lt;br /&gt;
[[Image:Excel_As_Database_2_2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The only real &amp;#039;trick&amp;#039; to this procedure, is knowing that on the &amp;#039;All&amp;#039; tab you have to give it an &amp;#039;extended properties&amp;#039; value of &amp;#039;excel 8.0&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:Excel_As_Database_2_3.png]]&lt;br /&gt;
&lt;br /&gt;
Having done that, if you go back to the connection tab you should be able to press &amp;#039;Test Connection&amp;#039; and have a success message.&lt;br /&gt;
&lt;br /&gt;
One trap here: because excel locks any file that&amp;#039;s open, you have to make sure the spreadsheet is not open in excel.&lt;br /&gt;
&lt;br /&gt;
[[Image:Excel_As_Database_2_4.png]]&lt;br /&gt;
&lt;br /&gt;
Now we&amp;#039;re able to connect to our spreadsheet and use it for lookups. &lt;br /&gt;
&lt;br /&gt;
We&amp;#039;ll create one lookup called &amp;#039;tasks&amp;#039; that will select from the first column of the first sheet in the spreadsheet.&lt;br /&gt;
&lt;br /&gt;
[[Image:Excel_As_Database_3_0.png]]&lt;br /&gt;
&lt;br /&gt;
Make sure the lookup is enabled, give it a caption of your choice, and in the &amp;#039;Column from Query&amp;#039; textbox, tell it the heading name of the column whose value you want to display in the resulting lookup.&lt;br /&gt;
&lt;br /&gt;
The query could just as well be &amp;#039;Select * from [Sheet1$]&amp;#039; but we&amp;#039;re going to be specific and name the column we&amp;#039;re interested in.&lt;br /&gt;
&lt;br /&gt;
With all that in place, we can test the query.&lt;br /&gt;
&lt;br /&gt;
[[Image:Excel_As_Database_3_1.png]]&lt;br /&gt;
&lt;br /&gt;
If everything has gone well then we&amp;#039;ll see a small form that shows all of the resulting values from that column.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Excel_As_Database_3_2.png]]&lt;br /&gt;
&lt;br /&gt;
If we select one of the values, we&amp;#039;ll see a preview of what has been returned.&lt;br /&gt;
&lt;br /&gt;
(In this case what we selected and what we returned were the same thing. But trickier configurations can also be performed)&lt;br /&gt;
&lt;br /&gt;
[[Image:Excel_As_Database_3_3.png]]&lt;br /&gt;
&lt;br /&gt;
After that I went through and disabled the other five lookups that are available so they wouldn&amp;#039;t clutter up the &amp;#039;new flag&amp;#039; dialog.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, when you create with a flag type of &amp;#039;Task&amp;#039; dialog there is one task lookup control, and selecting the ellipsis gives you a choice of the items in your excel spreadsheet.&lt;br /&gt;
&lt;br /&gt;
[[Image:Excel_As_Database_3_4.png]]&lt;/div&gt;</summary>
		<author><name>LeonBambrick</name></author>
	</entry>
</feed>