<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.dotnetmafia.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Kyle Kelin on .Net : SharePoint, SharePoint 2007, MOSS</title><link>http://www.dotnetmafia.com/blogs/kylekelin/archive/tags/SharePoint/SharePoint+2007/MOSS/default.aspx</link><description>Tags: SharePoint, SharePoint 2007, MOSS</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Importing data from one list to another</title><link>http://www.dotnetmafia.com/blogs/kylekelin/archive/2008/01/29/importing-data-from-one-list-to-another.aspx</link><pubDate>Tue, 29 Jan 2008 16:00:00 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:462</guid><dc:creator>KyleKelin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.dotnetmafia.com/blogs/kylekelin/rsscomments.aspx?PostID=462</wfw:commentRss><comments>http://www.dotnetmafia.com/blogs/kylekelin/archive/2008/01/29/importing-data-from-one-list-to-another.aspx#comments</comments><description>&lt;p&gt;I needed to recreate a list on another website including the data. The list had over 150 items in it so no way was I going to recreate it manually. The first thing I did was recreate the columns for the destination list then export the original list to Excel. The option is under actions in the list view. But when I tried to import the spreadsheet into my new list I get the following error:&lt;/p&gt;
&lt;p&gt;Import of spreadsheet error: Method &amp;#39;Post&amp;#39; of object &amp;#39;IOWSPostData&amp;#39; failed&lt;/p&gt;
&lt;p&gt;I was like WTF. But a quick google search found the solution. &lt;/p&gt;
&lt;p&gt;Open the Excel Add-In EXPTOOWS.XLA locate in C:\Program Files\Microsoft Office\Office12\1033 by default. Press Alt+F11 to display the Visual Basic code editor and search (Ctrl+F) for the line lVer = Application.SharePointVersion(URL). Comment out that line with a single quote and add the line lVer=2 so your Intialize() method should now look like this:&lt;br /&gt;&lt;br /&gt;Sub Initialize(List, Title, URL, QuickLaunch)&lt;br /&gt;&lt;br /&gt;strQuickLaunch = QuickLaunch&lt;br /&gt;&lt;br /&gt;aTarget(iPublishURL) = URL&lt;br /&gt;&lt;br /&gt;aTarget(iPublishListName) = List&lt;br /&gt;&lt;br /&gt;aTarget(iPublishListDesc) = Title&lt;br /&gt;&lt;br /&gt;&amp;#39;lVer = Application.SharePointVersion(URL)&lt;br /&gt;&lt;br /&gt;lVer = 2&lt;br /&gt;&lt;br /&gt;End Sub &lt;/p&gt;
&lt;p&gt;I was a little nervous about doing this but it worked. Also when you try to save the macro it will warn you that it won&amp;#39;t be signed if you save it. I went ahead and saved it. I haven&amp;#39;t had any problems so far.&lt;/p&gt;&lt;img src="http://www.dotnetmafia.com/aggbug.aspx?PostID=462" width="1" height="1"&gt;</description><category domain="http://www.dotnetmafia.com/blogs/kylekelin/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://www.dotnetmafia.com/blogs/kylekelin/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://www.dotnetmafia.com/blogs/kylekelin/archive/tags/SharePoint+2007/default.aspx">SharePoint 2007</category></item></channel></rss>