PC Review


Reply
Thread Tools Rate Thread

How do I get a macro or excel function copy a value on date

 
 
JeremyR.
Guest
Posts: n/a
 
      5th Mar 2009
I have a spreadsheet that multiple users access and update multiple times per
month. At the end of the month, I would like to know what the values of
certain cells were for ongoing reporting and graphing. The values I want to
know are percentages, sums, etc.

I was hoping someone could help with a macro that executed itself at the end
of the month or if the sheet has to be open for it to be executed, a macro
that automatically captures this data the first time it's opened in a new
month.

Is there a cell function that could do this? I tried using a if/then
formula that captured the value on a given date but as soon as that date
passed, the value did not freeze indefinetly.

 
Reply With Quote
 
 
 
 
Sheeloo
Guest
Posts: n/a
 
      6th Mar 2009
You need to write a macro in Workbook_Open()

To setup designate a cell to store the month number... macro can check that
to know whether it has run on the current month... if not then you can
collect the data you want... and then update the flag cell so that it does
not run again during the month...
--
--------
If this is what you wanted then press the ''''YES'''' button (if you see it)


"JeremyR." wrote:

> I have a spreadsheet that multiple users access and update multiple times per
> month. At the end of the month, I would like to know what the values of
> certain cells were for ongoing reporting and graphing. The values I want to
> know are percentages, sums, etc.
>
> I was hoping someone could help with a macro that executed itself at the end
> of the month or if the sheet has to be open for it to be executed, a macro
> that automatically captures this data the first time it's opened in a new
> month.
>
> Is there a cell function that could do this? I tried using a if/then
> formula that captured the value on a given date but as soon as that date
> passed, the value did not freeze indefinetly.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy of excel file not showing formulal/function in the function b =?Utf-8?B?b2FhbGxhbQ==?= Microsoft Excel Misc 4 6th Sep 2007 01:20 PM
Macro copy function =?Utf-8?B?TmljayBLcmlsbA==?= Microsoft Excel Misc 1 4th Apr 2007 07:03 PM
Re: Is there a "last saved on date/user" macro/function for Excel 2003 Bob Phillips Microsoft Excel Misc 0 2nd Jan 2007 10:08 PM
If than copy function / Macro =?Utf-8?B?U3dlZXRldGM=?= Microsoft Excel Worksheet Functions 2 7th Apr 2006 06:30 PM
how to count/sum by function/macro to get the number of record to do copy/paste in macro tango Microsoft Excel Programming 1 15th Oct 2004 01:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:22 PM.