Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default MACRO ACTIVATED AUTOMATICALLY

Hi to everyone

I have one file with 3 pages. The 3 pages have the same content. I want to
create a macro which automatically one time every day (when the day changes)
will delete certain cells (for example: C10, C11, C12) in each page.
Also this macro will add the number:1 in certain cells (for example: D10,
D11, D12) in each page.
NOTICE: The above macro will be activated automatically (when the file
opened) one time a day (when the day changes).
Thanks in advance.

Spiros


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default MACRO ACTIVATED AUTOMATICALLY

On Jun 17, 12:39*pm, Spiros wrote:
Hi to everyone

I have one file with 3 pages. The 3 pages have the same content. I want to
create a macro which automatically one time every day (when the day changes)
will delete certain cells (for example: C10, C11, C12) in each page.
Also this macro will add the number:1 in certain cells (for example: D10,
D11, D12) in each page.
NOTICE: The above macro will be activated automatically (when the file
opened) one time a day (when the day changes).
Thanks in advance.

Spiros


well to make the macro run automatically when the file is opened, u
can call this macro from the Auto_open macro.
To make it run once a day, u need to write the date each time this
macro runs. Say u write the date in E1. Then every time the macro is
called u can check if the value in E1 is less than today's date or
not. If it is so, then u can proceed with the processing else exit
sub. In case u want to read abt Auto_Open read he
http://office.microsoft.com/en-us/ex...346281033.aspx
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
MACRO ACTIVATED AYTOMATICALLY Spiros Excel Discussion (Misc queries) 0 June 12th 08 07:25 AM
Macro activated when a value in a cell changes CarlSh Excel Programming 3 May 4th 07 09:20 PM
Macro to run when sheet activated Gary Keramidas Excel Programming 0 December 13th 06 09:27 PM
Macro to run when sheet activated Dave Miller Excel Programming 1 December 13th 06 09:26 PM
MACRO ACTIVATED EVERY 5 SECONDS CC Excel Discussion (Misc queries) 1 May 4th 06 03:02 PM


All times are GMT +1. The time now is 08:38 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"