Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Carrie
 
Posts: n/a
Default Adding info in the row at the bottom using macro?

This is difficult to explain but here i go.

I want to be able to add new pieces of infomation into a database using a
macro.

For example: A new customer sheet, Name, Address etc.... then i want to
duplicate this information into a database using a macro. (hope that makes
sense)

The problem that i keep having is that i record the macro to one particular
row and then each time i enter a new customer it over writes it.

I want to be able to add the new customer in the row below the last row
entered.

Please help!!
  #2   Report Post  
Jim Rech
 
Posts: n/a
Default

It's hard to give specific help since you didn't post any code. But in
general, a good way to find the "next empty cell" is to go end up from the
last row and then down one. This is an example for column A

Range("A65536").End(xlUp).Offset(1).Select

--
Jim
"Carrie" wrote in message
...
| This is difficult to explain but here i go.
|
| I want to be able to add new pieces of infomation into a database using a
| macro.
|
| For example: A new customer sheet, Name, Address etc.... then i want to
| duplicate this information into a database using a macro. (hope that makes
| sense)
|
| The problem that i keep having is that i record the macro to one
particular
| row and then each time i enter a new customer it over writes it.
|
| I want to be able to add the new customer in the row below the last row
| entered.
|
| Please help!!


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
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM
Adding rows of different info from separate worksheets into summar Barry P New Users to Excel 1 February 8th 05 02:47 PM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM
Adding info onto a "permanent" form Howeey Excel Worksheet Functions 1 December 25th 04 08:12 PM
macro - adding rows to a column that is summed HGood Excel Discussion (Misc queries) 2 December 1st 04 03:28 PM


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