LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to merge all selected areas into one area


Hello again,

Alan, you are right. The code I posted is incorrect. I was trying som
things and posted incorrect code. The error is at the line:

Set WorkingRange = ActiveSheet.Range(Cells(TopRow, LeftColumn)
Cells(BottomRow - TopRow + 1, RightColumn - LeftColumn + 1))

near the end of the code. It should be:

Set WorkingRange = ActiveSheet.Range(ActiveSheet.Cells(TopRow
LeftColumn), ActiveSheet.Cells(BottomRow, RightColumn))

I would like to thank all others who replied. I will study your cod
and try to incorporate it into my code.

Thank you all for your help!

Ioanni

--
ie
-----------------------------------------------------------------------
iev's Profile: http://www.excelforum.com/member.php...fo&userid=2675
View this thread: http://www.excelforum.com/showthread.php?threadid=40007

 
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
Area Chart with Shaded Areas Diff. Color Johnny Charts and Charting in Excel 11 June 16th 08 03:36 AM
Pritning 2 selected areas of a sheet PaulHelyer Excel Worksheet Functions 1 February 20th 06 09:03 AM
Unselect all selected areas in all sheets SiriS Excel Discussion (Misc queries) 2 January 20th 06 08:36 AM
grid lines - off in selected areas John Keith Excel Discussion (Misc queries) 2 January 8th 06 07:47 PM
Saving selected areas Dave S Excel Discussion (Misc queries) 1 July 21st 05 01:13 PM


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