Excel导入,CSV帮助。 [英] Excel import, CSV help.

查看:76
本文介绍了Excel导入,CSV帮助。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个excel 2007工作簿,当前工作表名为'a'

现在我想要的是,b


1.当用户点击表单a中的一个按钮,它应该询问要导入哪个csv文件,

2.询问用户想要的新表单的名称(放置该csv文件的位置)..说到简化用户现在说"b"。

3.将"a"复制到新工作表b之后b。

4.将csv导入到新工作表中,逗号分隔,并允许覆盖复制的工作表中的现有单元格。



什么是基本的起始级别代码来完成所有这些任务。



我将非常感谢您提供这方面的帮助。



谢谢
Sal

I have a excel 2007 workbook , with current worksheet named 'a'
Now what I want is,

1. When user clicks a button in sheet a, it should ask which csv file to import,
2. Ask for name of that new sheet user want (where that csv file is to be placed).. Say to simplify user says 'b' now.
3. After that copy 'sheet a' into the new sheet b.
4. Import the csv into that new sheet, comma delimted,  and allow overwriting of existing cells in copied sheet.

What can be basic start level code to accomplish all these tasks.

I will be grateful for any help in this regard.

Thanks
Sal

推荐答案

请参阅 Excel您提出相同问题的导入,CSV帮助


这篇关于Excel导入,CSV帮助。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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