Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
BN BN is offline
external usenet poster
 
Posts: 2
Default Newbie question: clear contents in first column of copy-pasted row(s)

I need to code worksheet so that it will clear contents of column A in rows
being pasted/inserted into worksheet. Copied from location either above or
below the insert location. Affecting only inserted rows. Hope this makes
sense. Any help would be greatly appreciated.
Thanks,
-Brian


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default Newbie question: clear contents in first column of copy-pasted row(s)

Hi Brian,
See http://www.mvps.org/dmcritchie/excel...w.htm#insrtrow

Selection.Offset(1).Resize(vRows).EntireRow. _
SpecialCells(xlConstants).ClearContents
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"BN" wrote in message ...
I need to code worksheet so that it will clear contents of column A in rows
being pasted/inserted into worksheet. Copied from location either above or
below the insert location. Affecting only inserted rows. Hope this makes
sense. Any help would be greatly appreciated.
Thanks,
-Brian




  #3   Report Post  
Posted to microsoft.public.excel.programming
BN BN is offline
external usenet poster
 
Posts: 2
Default Newbie question: clear contents in first column of copy-pasted row(s)

Thanks David for quick response to my question.
-Brian
"David McRitchie" wrote in message
...
Hi Brian,
See http://www.mvps.org/dmcritchie/excel...w.htm#insrtrow

Selection.Offset(1).Resize(vRows).EntireRow. _
SpecialCells(xlConstants).ClearContents
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"BN" wrote in message
...
I need to code worksheet so that it will clear contents of column A in
rows
being pasted/inserted into worksheet. Copied from location either above
or
below the insert location. Affecting only inserted rows. Hope this makes
sense. Any help would be greatly appreciated.
Thanks,
-Brian






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
Newbie question - column letter displayed instead of number dredwin Excel Worksheet Functions 1 January 14th 10 10:05 PM
How to copy an Excel worksheet with formulas and clear contents. Compeer buddy Excel Discussion (Misc queries) 2 January 29th 08 05:21 PM
how to copy contents of one column to another column in another worksheet yefei Excel Discussion (Misc queries) 3 February 25th 06 05:57 PM
Newbie Question Column Adding Please Help Tom Grassi New Users to Excel 2 December 19th 05 07:00 PM
Newbie Post - Clear All Button Buritoking Excel Programming 4 July 12th 04 09:49 PM


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