VB/VBA and Cookies within MS Word

Posted on 2004-11-16
Medium Priority
Last Modified: 2006-11-17
Have created a cookie with ASP in a browser and now require the number stored in that cookie to be retrieved by MS Word.

How is this possible?   Using request.cookies does not work with an Object Required error being produced.


Question by:justinkent
  • 2

Accepted Solution

Dang123 earned 750 total points
ID: 12597923
    This may help (they are VB, but should work in VBA too)




Author Comment

ID: 12598256
Thanks, will check them out over the next few days and come back to you.

This is the preferable way I wish to do this - I have worked another around the problem which is to get ASP to collect the user's IP address and dump it in the DB with the number required, and then get the VBA app gets the user's IP address and then go to the DB to collect the number. As this will only ever run on an enclosed intranet, there will never be a case of duplicate IP's.

Anyway, as said - will try them out in a VBA environment.


Author Comment

ID: 12607955
The code at at the vbusers.com worked, finally, after a bit of playing around at this end!


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question