Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 444
  • Last Modified:

button to run a saved import

Hi

I saved an excel worksheet import, now i need to run this import  clicking a button
what is the code to run this import from a button

best regards
robert
0
titorober23
Asked:
titorober23
1 Solution
 
slamhoundCommented:
Just select the button tool from the menu and using the wizard, set it up as a Close button. Then just replace the close button code with whatever your code is. If you code is in a function or sub you can call it using:

MyFunction
or
Result = MyFunction()
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now