Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default how do I input codes?

I see that I can do various things by inputting a code, but I don't know
where do I actually input a code. How do I actually input a code (say for
example, to lock or unlock all worksheets within a workbook)? I have the code
-- I just don't know where to put it. Thanks in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default how do I input codes?


Macros are very easy to install and use:

1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.

To use the macro from the normal Excel window:

1. ALT-F8
2. Select the macro
3. Touch Run



To remove the macro:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

--
Gary''s Student - gsnu200842


"Venus" wrote:

I see that I can do various things by inputting a code, but I don't know
where do I actually input a code. How do I actually input a code (say for
example, to lock or unlock all worksheets within a workbook)? I have the code
-- I just don't know where to put it. Thanks in advance!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default how do I input codes?

Full instructions on placement of various types of code here at Ron de
Bruin's site.

http://www.rondebruin.nl/code.htm


Gord Dibben MS Excel MVP

On Wed, 1 Apr 2009 08:34:11 -0700, Venus
wrote:

I see that I can do various things by inputting a code, but I don't know
where do I actually input a code. How do I actually input a code (say for
example, to lock or unlock all worksheets within a workbook)? I have the code
-- I just don't know where to put it. Thanks in advance!


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
input in number form is being multiplied by 1000 when i input. jweinograd Excel Discussion (Misc queries) 4 April 16th 07 11:18 PM
Have user input converted to uppercase in same cell as input? Shannonn New Users to Excel 1 June 20th 06 03:19 AM
I need to input daily cost codes would exceli calculate my totals davisbc Excel Worksheet Functions 0 October 6th 05 07:10 PM
how do I input zip codes with a leading zero Susan New Users to Excel 5 April 17th 05 06:38 PM
=SUMIF(Input!H2:H718,AZ19,Input!E2:E685)AND(IF ALex Excel Worksheet Functions 2 March 14th 05 09:19 PM


All times are GMT +1. The time now is 09:55 AM.

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"