LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Where to place code that changes a cell value?

Good day,

I would like to know where to place my code, since placeing it in the module
section produces an error. The code is seen below. I need this code to
execute for the "current displayed" worksheet, but I do not believe that I
should copy it to ecery sheet, thats why I tried it in the modules.

Where should I put it to only have 1 location for the code?

Range("M5").Value = 5

I appreciate your help.

Kind regards
George
 
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
where do i place the code ? Asha Excel Programming 2 October 18th 05 04:13 PM
Wherre best to place code luke New Users to Excel 2 August 22nd 05 08:25 PM
Where to place Code question Stuart[_21_] Excel Programming 9 April 28th 05 08:06 PM
Place space in postal code Ange[_3_] Excel Programming 9 November 3rd 04 09:13 AM
Place code in a new workbook with a macro. help_wanted Excel Programming 1 April 1st 04 04:51 PM


All times are GMT +1. The time now is 03:37 AM.

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

About Us

"It's about Microsoft Excel"