Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default problem in deleting and inserting a row


hi,
i am a new user to excel vba programming.
i have a excel sheets with some fields like name ..... date...etc
if i enter date cloumn into the excel sheets then i need to delete that
row form that sheet and same row need to be inserted into another excel
sheets in a specified row
please send the necessary code for me


--
satisha80
------------------------------------------------------------------------
satisha80's Profile: http://www.excelforum.com/member.php...o&userid=34739
View this thread: http://www.excelforum.com/showthread...hreadid=545000

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default problem in deleting and inserting a row

This pretty much comes across as jibberish. If you really want some sample
code, you will have to much more detailed information. Here is some pseudo
code meeting your specification:

for i = lastrow to 1 step -1
if cells(i,somecolumn) = DateonSheet then
rows(i).copy Worksheets(somesheet).SpecifiedLocation
rows(i).Delete
end if
Next

--
Regards,
Tom Ogilvy


--
Regards,
Tom Ogilvy


"satisha80" wrote:


hi,
i am a new user to excel vba programming.
i have a excel sheets with some fields like name ..... date...etc
if i enter date cloumn into the excel sheets then i need to delete that
row form that sheet and same row need to be inserted into another excel
sheets in a specified row
please send the necessary code for me


--
satisha80
------------------------------------------------------------------------
satisha80's Profile: http://www.excelforum.com/member.php...o&userid=34739
View this thread: http://www.excelforum.com/showthread...hreadid=545000


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
Inserting and Deleting Rows in Excel ttonkel Excel Worksheet Functions 2 March 7th 09 03:06 PM
inserting deleting rows?how do i get the other sheets to do the sa cunningham82 Excel Discussion (Misc queries) 0 December 27th 06 09:51 PM
problem when inserting or deleting cells funkymonkUK[_40_] Excel Programming 3 June 21st 05 01:38 PM
Inserting/Deleting Spaces carl Excel Worksheet Functions 4 April 22nd 05 06:25 PM
Excel – Macro Problem – Inserting, Appending Data, Deleting Aussiexcel[_3_] Excel Programming 0 August 25th 04 07:48 AM


All times are GMT +1. The time now is 08:12 AM.

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"