Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 2nd, 2006, 12:18 PM
Registered User
 
Join Date: May 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default MSXML2 Type mismatch

Hi

I am using following code

Dim doc As MSXML2.ServerXMLHTTP
Set doc = CreateObject("MSXML2.ServerXMLHTTP")
doc.Open "POST", "https://www.somewebsite.com/export.jsp", False
doc.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"


but it gives "Run-time error '13' Type mismatch" on Set doc statement.

Any solutions ???





Similar Threads
Thread Thread Starter Forum Replies Last Post
type mismatch peonysmiles ASP.NET 1.0 and 1.1 Basics 0 August 26th, 2008 08:38 AM
type mismatch frresh Pro Visual Basic 2005 1 April 11th, 2006 08:35 AM
Type mismatch NoBullMan Classic ASP Basics 2 November 16th, 2004 03:16 AM
Type mismatch per.holleufer Classic ASP Basics 5 July 31st, 2004 07:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.