Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Need to Merge cells and erase original - 9KB Attach

Test on a copy of your data.
for i = 1 to 300 step 3
cells(i,1).Value = cells(i,1).Value & ", " & cells(i+1).Value _
& ", " & cells(i + 2).Value
cells(i+1,1).Resize(2,1).ClearContents
Next
Range("A1:A300").SpecialCells(xlBlanks).Entirerow. Delete

--
Regards,
Tom Ogilvy

"RT" wrote in message
...
I have to get a spreadsheet setup so I can import into Access. Most of

what
would be a row in Access contains several rows that need to be merged. I
can't concencate because I need to erase my original work. This little

pic
should explain all:

RRT





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
Erase same content in all cells in Excel TaurArian Excel Discussion (Misc queries) 1 May 21st 09 02:02 PM
Erase same content in all cells in Excel S1L1Y1 Excel Discussion (Misc queries) 0 May 20th 09 04:18 PM
how do I merge cells into one then delete the original cells? LLR Excel Worksheet Functions 2 March 7th 08 10:59 PM
can i attach the same comment to different cells shanec1987 Excel Discussion (Misc queries) 2 May 29th 06 11:11 AM
How do I attach an excel document to a word one for mail merge? Ruth Excel Discussion (Misc queries) 1 January 6th 06 10:29 PM


All times are GMT +1. The time now is 03:22 AM.

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"