从Access查询导出到Excel多页表的自动存储密码。 [英] Autostore Password for Export from Access query to Excel MULTIPLE Sheets.

查看:180
本文介绍了从Access查询导出到Excel多页表的自动存储密码。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在使用代码从Access导出查询以创建一个包含1 Sheet的新Excel和使用密码保护,一切都正确。

展开 | 选择 < span class =codeDivider> | Wrap | 行号

解决方案

- >请同时提供错误消息的NUMBER和EXACT TEXT。


- >请提供您正在使用的Office / Access版本。


取决于办公室版本以及确切号码和确切文本(请不要以任何方式解释或更改文本)您收到的错误消息:

VBA-RT-Error-1004可以参考:

- 对象的vba安全违规

- 错误方法

- 写入只读文件或对象时出错



等...


< blockquote>我们走了:

1。运行时错误1004应用程序定义或对象定义

2。 WIN7和Office / Ms Access 2010

感谢Zmbd的关注。


可能是版本问题,因为以下代码运行完美:

展开 | 选择 | 换行 | 行号


Hi Everyone,

I''m using a code to export a query from Access to create a new Excel with 1 Sheet and Protect with password, and everything''s right.

Expand|Select|Wrap|Line Numbers

解决方案

--> Please provide BOTH the NUMBER and the EXACT TEXT of the error message.

--> Please provide the version of Office/Access you are using.

Depending on the version of office AND the EXACT NUMBER and EXACT text (please do not paraphrase or alter the text in any way) of the error message you received:
VBA-RT-Error-1004 can refer to:
- vba security violation at object
- error of method
- error in writing to read-only file or object


etc...


Here We go:

1. runtime error 1004 application defined or object defined

2. WIN7 and Office/Ms Access 2010

Thank You Zmbd for your attention.


May be a Version problem, since the following Code ran flawlessly:

Expand|Select|Wrap|Line Numbers


这篇关于从Access查询导出到Excel多页表的自动存储密码。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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