2016년 3월 30일 수요일

[Solution] activating a macro through VBA

activating a macro through VBA

i have a macro named "copy" stored as module 2.
i want to activate this macro while clicking the Close (command Button) in the User Form.
will you please tell me the VBA coding towards this purpose?

Solutions to the Problem activating a macro through VBA

Download Error Fixer for Free Now

i have a macro named "copy" stored as module 2.
i want to activate this macro while clicking the Close (command Button) in the User Form.
will you please tell me the VBA coding towards this purpose?

Call the macro by specifying its module name along with the macro line.
Put this in the Click event for you Close button...
 
Module2.Copy
 
and when the executing code gets to that line, it should then execute your Copy macro.

Cleaning your computer, components, and peripherals help keep everything in good working condition and helps prevent germs from spreading. You can't image how dirty the inside of your computer case can get. All the dust and dirt is going to prevent proper air flow and may even prevent the fan from working.

Recommended Method to Fix the Problem: activating a macro through VBA:

How to Fix activating a macro through VBA with SmartPCFixer?

1. Download Error Fixer . Install it on your system.  Click Scan, and it will perform a scan for your computer. The errors will be shown in the scan result.

2. After the scan is finished, you can see the errors and problems which need to be repaired.

3. The Fixing part is finished, the speed of your computer will be much higher than before and the errors have been fixed.


Related: [Solved] Applications have stopped working with SP1 on Windows 7!,[Solved] I can't find auto complete text in word 2007,[Solution] I need to keep reinstalling eHome Infrared Transceiver driver everytime my computer shuts down.,How to Resolve - system restore not working windows 7?,Unable to open embedded word file on the intranet. [Solved],Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,[Anwsered] Thinkpad 8611 Boot,How to Resolve - Svchost Helper?,Fast Solution to Problem: L30 101 Driver Windows 7,Troubleshooter of Error: Io Device,How to Fix Error - Dell Laptop Code 39?
Read More: Troubleshooter of Error: Action Center - Nero not working but I haven't installed it.,Solution to Error: Accidentally deleted searh history in XP. How can I get January 22 back to view it please\/,ACER Extensa 5230 BOSD over and over Tech Support,Troubleshooting:A virus has infected computer cannot open Windows Media player.,Tech Support: A new tab with Facebook always pops up and asks me if I want to sign in, How can I resolve the issue?,Cannot delete empty file icon on desktop...,Cannot download flashplayer,can't get the CIA review progrom install which is an older version,Cannot access one website-DNS server not responding.,Can't Receive or Send Vista Windows Mail - Router stopped recognizing DSL connection & wants to dial up

댓글 없음:

댓글 쓰기