Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
filo666
 
Posts: n/a
Default A difficult thing¡¡¡¡¡¡

Hello everyone, I have a program that when you type a code and press a button
a macro automatically discount one of the code from stock, my problem is that
my boss want that when you execute the macro, in one cell appears the
substraction date of the code.
The problem is that if I use the =now() function the following day the
registration date change, and also if I make a macro that copy the column and
paste the column as values, the program doesn't going to work when I type
another code, if I make a macro that retype the formulas in the cells, it
will errease all the last cells.

PLEASE HELP I'm having troubles in my job and I really need to do something
with this.

gratefully.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Show us the macro code, and we will update it for you.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"filo666" wrote in message
...
Hello everyone, I have a program that when you type a code and press a

button
a macro automatically discount one of the code from stock, my problem is

that
my boss want that when you execute the macro, in one cell appears the
substraction date of the code.
The problem is that if I use the =now() function the following day the
registration date change, and also if I make a macro that copy the column

and
paste the column as values, the program doesn't going to work when I type
another code, if I make a macro that retype the formulas in the cells, it
will errease all the last cells.

PLEASE HELP I'm having troubles in my job and I really need to do

something
with this.

gratefully.



  #3   Report Post  
Dave O
 
Posts: n/a
Default

This can be done with a VBA command along the lines of
ActiveCell.Value = Now()
.... which assigns the clock time *at the time the program runs* to a
cell. This means the value will not change from day to day. However,
as Bob requests, show us the code and we can help you get it into the
right place using the right syntax.

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
A difficult thing to do¡¡¡¡¡¡ filo666 Excel Discussion (Misc queries) 1 March 2nd 05 03:40 AM
Another difficult failed formula Ken M. Excel Worksheet Functions 2 February 5th 05 07:22 AM
Difficult Excel Question [email protected] Excel Discussion (Misc queries) 2 January 27th 05 12:10 PM
Difficult Sorting Problem Rob Excel Discussion (Misc queries) 2 January 5th 05 03:05 PM
Difficult (for me) formula/UDF calculation Mike Echo Excel Worksheet Functions 4 December 25th 04 09:09 AM


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