Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
简单地说,我希望能够提示用户输入一个参数,然后在 SQL 查询中使用该参数来返回数据。(即,不是返回所有值,而是仅返回基于用户输入的值)。这可以是 msgbox 或单元格值。
vb(a) 函数InputBox可能满足您的需要。
InputBox