本文介绍了如何在VBA中将简单字符串转换为字节数组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用excel VBA在Byte数组中转换一个简单的字符串。然后这个字节数组用作请求的正文。

I need to convert a simple string in a Byte array using excel VBA. Then this byte array is used as the request's body.

我该怎么做?

谢谢。 / p>

Thanks.

推荐答案

如果您只需要ANSI字符,可以使用StrConv()函数。

If you only need ANSI characters, you can use the StrConv() function as is done here.

这篇关于如何在VBA中将简单字符串转换为字节数组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 00:35
查看更多