Solved

Getting byte to byte from a string expression (VBA Excel 95)

Posted on 1998-09-08
1
137 Views
Last Modified: 2010-04-30
How can I get the bytes separately from a string?
I want to scan all the bytes in a string, and I don't find out the way to get it, with VBA Excel 95
0
Comment
Question by:mquiles
1 Comment
 
LVL 12

Accepted Solution

by:
mark2150 earned 50 total points
ID: 1433581
Simple:

for index = 1 to len(mystring)
 char = mid(mystring, index, 1)
 byte = asc( char )
 ...
next index
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

726 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