转换为宏中未记录的数字 [英] Convert to Number Not Recording in Macro

查看:61
本文介绍了转换为宏中未记录的数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用我想要创建的宏将格式化为文本的Excel格式(例如,`00123456)转换为数字(例如,123456)。我可以轻松地手动使用转换为数字选项(通过错误检查选项),但是当我正在录制宏
时,在执行此步骤时没有显示任何内容。?!就好像我什么也没做。我尝试了其他选项和功能,这是最快,最干净的选项,但似乎无法在VBA中的标准宏中使用...?
在Excel 2007中的Win7上使用VBA 6.5。

Hi, I am trying to convert an Excel cell formatted as text (eg, `00123456) to a number (eg, 123456) using a macro I am trying to create. I can easily use the Convert to Number option (via Error Checking Option) manually but when I'm recording a macro nothing shows up when performing this step..?! It is as if I hadn't done anything. I have tried other options and functions and this is the fastest and cleanest option but appears to be unavailable for use within a standard macro in VBA...? Using VBA 6.5 on Win7 in Excel 2007.

您能否告诉我原因和/或提供简单的解决方案?非常感谢!

Can you please tell me why and/or provide a simple solution? Many thanks!

推荐答案

这不是VBA论坛


这篇关于转换为宏中未记录的数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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