Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default Need to select 4 cells and merge them using Excell 2003

Hello Tom,

The code works great! I'm sorry I did not give clearer details.

Thank you for your help,
jfcby

Tom Ogilvy wrote:
lastrow = cells(rows.count,1).End(xlup).Row

cells(lastrow,"E").Resize(1,4).Merge

Not sure about what your question is regarding the first paragraph. I
answered the question I saw as a question.

--
Regards,
Tom Ogilvy


"jfcby" wrote:

Hello,

I have a workbook with 50 worksheets each with 10 to 500 rows of data
using Columns A-D. This is what I'm tring to do - I've set my gridlines
to print with three blank rows between each row of text but at the end
of my worksheet the three lines do not print. Since my worksheets has
different amount of rows I need to move down to the end of the
worksheet go over to column E, select 4 cells, and merge them.

I've searched tring to find some code but with no luck.

Thank you for your help in advance,
James



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
Excell 2003 format cells mike Excel Discussion (Misc queries) 1 March 10th 08 03:19 PM
Select and merge cells with duplicate values leonidas[_78_] Excel Programming 0 August 22nd 06 05:03 PM
How do I merge two cells but keeping all contents in Excell? gysl Excel Discussion (Misc queries) 2 November 1st 05 07:16 AM
In excell 2003 I select a cell and try to refill with any color ksv raj Excel Worksheet Functions 0 October 2nd 05 06:02 PM
I cannot select nonadjacent cells in Excell Office XP SP2 rjohnson97127 Excel Discussion (Misc queries) 2 January 12th 05 06:59 PM


All times are GMT +1. The time now is 09:35 PM.

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"