允许在Excel中显示超过15位数字 [英] Allowing more than 15 digits shown in excel

查看:693
本文介绍了允许在Excel中显示超过15位数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个简单的vba excel脚本.我遇到了一些问题,因为我已经用这种方式删除了数字的科学格式

i am working on a simple vba excel script. i have encountered some problems as i have removed the number's scientific format using this way

Columns("b:ad").NumberFormat = "0"

但是后来我意识到其中一列包含23位数字,该数字比15位数字长,因为我需要在excel中显示所有精确的23位数字(我确实知道excel仅限于15位数字的局限性).例如,需要显示的23位数字是32097459000000000209640,但是该字段当前显示的是32097459000000000000000.(仅供参考,我只需要000000000209640)

But then i realised that one of the columns is having 23 digits which is longer than 15digits as i need to display all exact 23 digits in excel(I do know the limitations of excel just for 15 digits). example, 23 digits need to be shown is 32097459000000000209640 but the field currently shows 32097459000000000000000. (FYI,i only need 000000000209640)

有什么想法吗?

推荐答案

我认为这可能对您有所帮助;这不是确切的答案,但可以肯定会对您有所帮助.

I think this might help u a bit; it's not the exact answer, but may help u for sure.

[转换数字] (将存储为文本的数字转换为数字吗?)

这篇关于允许在Excel中显示超过15位数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆