Thread: Whats wrong?
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Lee Lee is offline
external usenet poster
 
Posts: 3
Default Whats wrong?

Can anyone tell me what is wrong with the following piece of coding:

bytPostData = "state=transaction_view&section=Ecard&SelectCard=S CECARD"

bytPostData = StrConv(bytPostData, vbFromUnicode)

sURL = "https://new.egg.com/customer/0,,3_11062--View_138,00.html"

sHeader = "Content-Type: " & "application/x-www-form-urlencoded "
& vbCrLf

ie.Navigate sURL, 0, "", bytPostData, sHeader



The form from the web is below:

<form name='form0' method=post
action='/customer/0,,3_11062--View_138,00.html' style='margin:0;'

<input type=hidden name='state' value='transaction_view'
<input type=hidden name='section' value='Ecard'
<input type=hidden name='SelectCard' value='SCECARD'
<input type=image src=/com.egg/images/NewCTAs/cta_view_40x11.gif
width=40 height=11 border=0 alt='view'

</form

Thanks