Incrementing Daily sales by one day

mikajake

New Member
Joined
Aug 4, 2002
Messages
25
I have a slight problem. I want to copy my daily sales data every day into a monthly spreadsheet. I have a macro that prints the daily sales. But, Each day when I add the new data, I want the monthly sheet to update and move down one row. When I try copying the data, then use End-Up, move down one row, the macro always points to "A5"

ie. 01/01/02 2536.45 245.36 245.36
new daily data.....
tomorrows data....
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

NotASuperGenius

Board Regular
Joined
Jun 17, 2002
Messages
62
I use the following macro to copy the results of a xl Web query to the first empty row, starting at column b, of a worksheet. I think the part you want is

>Range("b65536").End(xlUp).Offset(1).Select

---macro---

Sub TotalSendTo()
'
' SendTo Macro
'
'

'
Range("C6:C18").Select
Selection.Copy
Sheets("Total Data").Select
Range("b65536").End(xlUp).Offset(1).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=True
Sheets("Web Query").Select
Range("C2").Select
End Sub
 

Forum statistics

Threads
1,144,273
Messages
5,723,436
Members
422,497
Latest member
dougy99

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top