Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6856797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:55:52+00:00 2026-05-27T01:55:52+00:00

In an Excel VBA project, I need to read and write UTF-8-encoded text files.

  • 0

In an Excel VBA project, I need to read and write UTF-8-encoded text files. After reading this and this SO topic, I am considering using ADO stream objects to accomplish this.

The project is going to be distributed to a public user base. I don’t know the number of installations, but judging from the download rates after updates, it must be around 1000 or so.

  1. Is it safe to assume that the VBA command CreateObject(“ADODB.Stream”) works on every Windows 2000-Windows 7 computer?

  2. Is the availability of the ADO stream object or its functionality in my VBA project dependent on the users’ security or other settings?

If there is a risk that users will experience runtime errors due to the ADODB.Stream obejct in the new version of my project, I would rather not want to use it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:55:53+00:00Added an answer on May 27, 2026 at 1:55 am

    The Stream object was added in ADO v2.5 which is installed as part of Win 2000 and Win ME.
    See Microsoft ADO History and Microsoft Data Access Components Installation. So I would say yes, it’s safe to assume it works on all Windows 2000 – Windows 7 computers. As far as I’m aware, the stream object is not any more dependent on users’ settings than the VBA project itself is.

    If there is a risk that users will experience runtime errors due to the ADODB.Stream obejct…

    There is always a risk that users will experience runtime errors. How high the risk is depends on how good your error handling is. You can reduce the risk by adding code that checks which version of ADO is installed and\or checks that the object is created correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently working on a project to convert a number of Excel VBA
I'm using Excel VBA to a write a UDF. I would like to overload
This is the VBA code for an Excel template, which I'm trying to convert
I need to access the VBA code of Office documents (Excel workbooks, but it's
An Excel spreadsheet needs programmatic access to its Project structure. However, this access is
I need some excel vba examples, where with in the VBA code(Excel Macro) i
Trying to use Excel VBA to capture all the file attributes from files on
I'm trying to write an R-Excel vba addin and am having trouble using GetArrayToVBA
I need to call a DLL in 64-bit Excel for use in VBA. i.)
I have an Excel VBA macro which I need to run when accessing the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.