Method ‘post’ of object ‘IOWSPostData’ failed when attempting to import an Excel spreadsheet

This article is based upon a fix I found on Msft’s website that didn’t have an screenshots, as they say, a picture tells a thousand words so hopefully this article helps you out.

Problem

You are attempting to import a spreadsheet into a SharePoint list probably with Office 2007 (12).

Explanation

Excel queries SharePoint to determine the version. What’s most likely happening is that Sharepoint queries the root site such as http://sharepoint , which might not contain a SharePoint site or, more likely, your user does not have the rights to query this hidden SharePoint service.  There are many other reasons why this might fail but the long and short of it is that you need to change excel’s call to check SharePoint’s version.

Solution

  • Open C:\Program Files\Microsoft Office\Office12\1033\exptoows.xla
  • Press Alt-F11 to open VBA
  • clip_image001
  • Modify the initialize function as follows
  • clip_image002
  • clip_image003
  • You may see this message next time you launch the import from SharePointclip_image004
VN:F [1.9.1_1087]
Rating: 8.5/10 (2 votes cast)
VN:F [1.9.1_1087]
Rating: 0 (from 0 votes)
Method 'post' of object 'IOWSPostData' failed when attempting to import an Excel spreadsheet, 8.5 out of 10 based on 2 ratings

Popularity: 9% [?]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

No Responses to “Method ‘post’ of object ‘IOWSPostData’ failed when attempting to import an Excel spreadsheet”

Leave a Reply:

Name (required):
Mail (will not be published) (required):
Website:
Comment (required):
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>