引用: derek88 发表于 2018-10-15 11:31
嗨尼克,我会尝试回答你的问题...让你的程序打开一个空白的excel文件,用数据填充它,然后使用Save Workbook As将它保存在一个新的文件名下,而不是使用文件名选择。
要更改now()的输出,请将其提供给To String对象,并将Defaut格式更改为时间戳格式。
祝你好运,比尔
谢谢回复!
我实际上已经解决了很多我遇到的问题,但我只是登录去询问其他人。
我会稍后开始另一个线程。
“不要使用文件名选择,让程序打开一个空白的excel文件,用数据填充它,然后使用Save Workbook As将其保存在新文件名下。”
我实际上需要将它保存在一个excel文件中。
每次测试运行时我需要的是一张新表。
我得到了这个“想通了”我现在唯一的问题就是新的表单被命名为“63564124664.266”,然后我必须通过转换才能在“3/28/2015 9:52:00 PM”中找到它
“格式。
“要更改now()的输出,请将其输入To To String对象,并将Defaut Format更改为时间戳格式。”
好的,我删除了从“now()”到“New Sheet”框的路径并添加了“To String”(I / O - > To - > String),双击添加一个事务,然后切换“
默认格式“到”时间戳格式“但是当我运行程序时,它返回”错误号553“我附加了一个字母数字显示,它正确显示日期,它只是没有进入”新页面“对象。
谢谢尼克
以上来自于谷歌翻译
以下为原文
Thanks for the reply! I've actually worked through alot of the issues I was having but I was just logging on to ask some others. Ill start another thread for that later though.
"Instead of using File Name Selection, have your program open a blank excel file, fill it with data, then use the Save Workbook As to save it under a new file name."
I actually NEED to keep it saved in a single excel file. What I need is a new sheet every time the testing is run. Ive got this "figured out" my only problem now is the new sheets get named something like "63564124664.266" which I then have to run through a conversion in order to get it in a "3/28/2015 9:52:00 PM" format.
"To change the output of now() feed it to a To String object and change Defaut Format to Time Stamp Format."
Ok so I deleted the path from the "now()" to the "New Sheet" box and added in a "To String" (I/O -> To -> String), double clicked to add a transaction, then switched "DEFAULT FORMAT" to "TIME STAMP FORMAT" but when I run the program it comes back with "Error Number 553"
I attached an alphanumeric display and it shows the date correctly, its just not going into the "NEW SHEET" object.
Thanks
Nick
引用: derek88 发表于 2018-10-15 11:31
嗨尼克,我会尝试回答你的问题...让你的程序打开一个空白的excel文件,用数据填充它,然后使用Save Workbook As将它保存在一个新的文件名下,而不是使用文件名选择。
要更改now()的输出,请将其提供给To String对象,并将Defaut格式更改为时间戳格式。
祝你好运,比尔
谢谢回复!
我实际上已经解决了很多我遇到的问题,但我只是登录去询问其他人。
我会稍后开始另一个线程。
“不要使用文件名选择,让程序打开一个空白的excel文件,用数据填充它,然后使用Save Workbook As将其保存在新文件名下。”
我实际上需要将它保存在一个excel文件中。
每次测试运行时我需要的是一张新表。
我得到了这个“想通了”我现在唯一的问题就是新的表单被命名为“63564124664.266”,然后我必须通过转换才能在“3/28/2015 9:52:00 PM”中找到它
“格式。
“要更改now()的输出,请将其输入To To String对象,并将Defaut Format更改为时间戳格式。”
好的,我删除了从“now()”到“New Sheet”框的路径并添加了“To String”(I / O - > To - > String),双击添加一个事务,然后切换“
默认格式“到”时间戳格式“但是当我运行程序时,它返回”错误号553“我附加了一个字母数字显示,它正确显示日期,它只是没有进入”新页面“对象。
谢谢尼克
以上来自于谷歌翻译
以下为原文
Thanks for the reply! I've actually worked through alot of the issues I was having but I was just logging on to ask some others. Ill start another thread for that later though.
"Instead of using File Name Selection, have your program open a blank excel file, fill it with data, then use the Save Workbook As to save it under a new file name."
I actually NEED to keep it saved in a single excel file. What I need is a new sheet every time the testing is run. Ive got this "figured out" my only problem now is the new sheets get named something like "63564124664.266" which I then have to run through a conversion in order to get it in a "3/28/2015 9:52:00 PM" format.
"To change the output of now() feed it to a To String object and change Defaut Format to Time Stamp Format."
Ok so I deleted the path from the "now()" to the "New Sheet" box and added in a "To String" (I/O -> To -> String), double clicked to add a transaction, then switched "DEFAULT FORMAT" to "TIME STAMP FORMAT" but when I run the program it comes back with "Error Number 553"
I attached an alphanumeric display and it shows the date correctly, its just not going into the "NEW SHEET" object.
Thanks
Nick
举报