vba - How to use the "post" parameter with the Excel's 2003 hyperlink "follow(...)" method? -
If you follow the method for hyperlink See Help> Object, you will see that it accepts the post as a way to send data. How do I fill out the additional information string or byte array? How should I format the data? What is the limit for the data to be sent? Please see below:
Expression. Follow (Nvindo, Adystystry, Extroindo, Method, Header Info)
Method Specify the way the optional variant is attached to ExtraInfo The coordinates of an image map, the contents of a form, or a FAT file can be one of the following MsoExtraInfoMethod constants to
ExtraInfo < / Strong> name
Method optional variants. Specifies the way ExtraInfo is attached to one of the following MsoExtraInfoMethod constants
- msoMethodGet
ExtraInfocan be a string that has been added to that address - msoMethodPost
ExtraInfoform of string or byte array Posted in
If you are typing GET Formatted as.
(msoMethodGet, "/ questions / 3354606 /") So if the link www.stackoverflow.com , You can go to www.stackoverflow.com/questions/3354606/
If you are POST ing, then you can either either string or Byte array you can use
username = asdf or
content-type: "application / x-www You can try something like you can see the tip for the HTTP post and send the entire header. "- character-urlencoded" + Chr (10) + Chr (13) + username = asdf
Comments
Post a Comment