macro beginner needs help

bnewt

New Member
Joined
Aug 28, 2002
Messages
2
I am trying to create a simple macro that will copy specific fields from a detail page to a summary page. Each day on the detail page, we will add various revenues, & I want that to be copied to the summary page which will also included monthly totals. On the detail page, I have created a grid that allows for input of the current date, revenues & margins. At the bottom of the page, I have each column totaling the daily entries. Since the monthly totals are update each day, it is simple to have this total to transfer to the summary page, but not the daily. In lotus, I could write a macro that would go to the end of each column, then up to the latest entry & then copy that entry, but I can't get this to work in excel '97. Any help would be appreciated.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hi bnewt,

Welcome to the board. :)

I think the code you are looking for is this:

Range("A65536").End(xlUp)

This will start at the bottom of column A and work up until it finds the last used cell.

HTH - if you have any trouble with implementing your code just repost on this thread.
 
Upvote 0
Richie,
I don't have any idea how to create the macro I want using the terminology you listed. Is there any place that I can learn these phrases???????

Thanks
 
Upvote 0
Hi bnewt,

Post what you have so far and somebody will help you out.

Reading the posts on this board is a great way to learn (the best way, of course, is to practice - try using the macro recorder and look at the code it produces. Its not always the most efficient code but it should help with a lot of the terminology.)

HTH
 
Upvote 0

Forum statistics

Threads
1,213,510
Messages
6,114,044
Members
448,543
Latest member
MartinLarkin

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
Back
Top