Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Initiating the VBA program

Set the Security level to low/medium in (Tools|Macro|Security). From workbook
launch VBE using short-key Alt+F11. From menu 'Insert' a module and paste the
below code. Save. Get back to Workbook. Run macro from Tools|Macro|Run
<selected macro() You need to assign the hotkey here...(check options)

If this post helps click Yes
---------------
Jacob Skaria


"Dino" wrote:

Hi, this is a very basic question: I found a VBA program here that I think
might help solve my problem, but once I copy and paste the code into the code
window, how do I make the program run? When I create a macro, I give the
macro a keystroke combination to run, but when I create/copy a VBA program I
don't know how to start the code running once I get back to the spreadsheet.

Thanks to anyone who can help,
Dino

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Initiating a Custom Toolbar Bishop Excel Programming 4 May 5th 09 02:27 PM
Initiating a Custom Toolbar Bishop Excel Programming 0 May 4th 09 07:17 PM
Initiating a Macro Setts Excel Worksheet Functions 2 June 28th 08 05:27 PM
initiating a macro johnT Excel Worksheet Functions 9 April 2nd 05 03:43 PM
Initiating a macro from a control button TerryM Excel Programming 1 September 23rd 04 09:51 PM


All times are GMT +1. The time now is 07:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"