VBA功能输出 [英] VBA Function output

查看:60
本文介绍了VBA功能输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本信息
软件: Microsoft Access 2000
操作系统: Microsoft Windows XP专业版SP3


我一直在尝试为模块中的一个表单创建一些幕后编码,例如从某些输入创建查询:

Basic Information
Software: Microsoft Access 2000
OS: Microsoft Windows XP Professional SP3

I''ve been trying to make some of the behind-the-scenes coding for one of my forms available in a module such as creating a query from certain inputs:

展开 | 选择 | Wrap | 行号

推荐答案

函数的典型用法是为函数赋值。例如:

The typical usage for a function is to assign the function the value. For example:

展开 | 选择 | Wrap | 行号


所以我需要做的就是将我的代码更改为:
So all I would need to do is change my code to:
展开 | 选择 | Wrap | 行号


我相信这应该有效。你是否在类模块中这样做,因此lib的原因是电话的一部分?让我知道它是否有效。


Pat
I do believe that should work. Are you doing this in a class module, and hence the reason for the "lib" part of the call? Let me know if it works.

Pat


这篇关于VBA功能输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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