Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Copy Cells/Paste Cells Programatically

Thank you.

Will give it a shot and let you know if it works.

Brigham

"Die_Another_Day" wrote in message
oups.com...
I'm not sure I completely understand what you want to do but it does
sound doable. Try this for starters:
Sub MoveStuff()
'Macro Written 8/29/2006 by cchickering
Sheets("TotalsSheet").Range("A1:B1").Copy Sheets("Summary").Range("A" _
& Sheets("Summary").Rows.Count).End(xlUp).Offset(1,1 )
Sheets("Summary").Range("A" & Sheets("Summary").Rows.Count).End(xlUp).
_
Offset(1,0) = Date
End Sub

This copies the Invoice and Discount amounts from the sheet
"TotalsSheet" Ranges A1 and B1 to the end of sheet "Summary", columns B
& C and adds today's date in Column A.

Let me know if you need more help

Charles

Brig Siton wrote:
I have a table that looks like the one below

Date Invoice Discount
8/1/06 $100 $20
8/2/06 $200 $40
8/3/06 $300 $80
8/4/06 $400 $160
8/5/06
...
8/31/06

The Invoice column and Discount columns are Dollar amounts that changes
daily.

Its getting its values from another excel sheet. The problem is that
this
excel sheet is not driven by dates or any uniform database format. The
figures in this excel shee are manuall entered by users and gets totaled
at
the end of the day. These totals represents the Invoice and Discount for
the day. The totals are in fixed, stagnant cells so this one is quite
easy
to refer to.

What we want to achieve is that in a daily basis, we run a macro that
will
copy the totals to this table that we create and paste the values into
the
same date when they run the macro. If they missed running it on that
day,
the macro will skip that day.

Let me know if this is something that is doable in excel.

Thank you.




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
Copy and paste versus copy and insert copied cells Alana New Users to Excel 1 September 28th 07 08:58 PM
macro copy/paste data from multiple cells to multiple cells Diana Excel Discussion (Misc queries) 0 July 10th 06 09:24 PM
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 10:47 PM
how can we copy cells comments text and paste to cells שי פלד Excel Discussion (Misc queries) 3 December 12th 05 05:16 AM
Programatically copy cells with dates Francis Brown Excel Programming 4 November 18th 05 08:37 PM


All times are GMT +1. The time now is 06:50 PM.

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"