Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Defining Dynamic Ranges in Macro


I have a data worksheet in which I have to update record using a different
sheet (form for data entry).

I recorded a Macro where by records were copied from the form sheet , and
copied after the last record in data sheet. ( Say the last record was in row
10, so the data has to be updated in row 11)

But when the macro is recorded the number for the last row which was updated
while recording gets fixed (in this case row 11) , therefore when the macro
is rerun everytime row 11 is updated.

I require that this number should be generated after looking at data sheet
and identifying the last row record.

If anyone can 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
help defining dynamic range joecrabtree Charts and Charting in Excel 0 December 6th 06 03:33 PM
Defining a name that represent identical ranges in every sheet Bernard Excel Discussion (Misc queries) 1 August 31st 06 02:18 PM
Defining Ranges Steve Excel Worksheet Functions 5 May 28th 05 07:41 AM
Defining ranges in VB code Rachael Moody Excel Programming 5 January 27th 04 02:21 PM
Defining Ranges Greg Ghavalas Excel Programming 2 July 9th 03 10:10 PM


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