Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Trouble formatting Row Height while using a Copy/Paste Macro

I have a series of Button Objects that each reference a specific Cell
and pastes that cell to a different sheet within the Workbook. (There
are additional macros "searching for the next available cell in a
column as well, all working well) My problem is that some of the cells
contain more than 255 characters and once pasted, all you see on the
final page is either a cut off version (because the row doesn't expand)
or "#################". Is there any way I can either format the
specific range of cells or something I can add in my code to allow the
expansion of the Rows when the Text exceeds the existing row height?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Trouble formatting Row Height while using a Copy/Paste Macro

Mike,

Set the RowHeight of the receiving cell the same as the copied cell...
Worksheets(1).Range("B2").EntireRow.RowHeight = _
Worksheets(2).Range("B5").EntireRow.RowHeight

Jim Cone
San Francisco, USA


"MK@Hartford" wrote in message
oups.com
I have a series of Button Objects that each reference a specific Cell
and pastes that cell to a different sheet within the Workbook. (There
are additional macros "searching for the next available cell in a
column as well, all working well) My problem is that some of the cells
contain more than 255 characters and once pasted, all you see on the
final page is either a cut off version (because the row doesn't expand)
or "#################". Is there any way I can either format the
specific range of cells or something I can add in my code to allow the
expansion of the Rows when the Text exceeds the existing row height?

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
Copy/Paste Row Height Sriram Excel Discussion (Misc queries) 4 May 8th 09 05:25 AM
Trouble with copy & paste from Visa web site Tri-Pacer Excel Worksheet Functions 2 April 14th 07 12:36 AM
can you copy and paste row height formatting in excel donnabm Excel Discussion (Misc queries) 1 May 1st 06 07:14 PM
Copy/Paste Macro & Formatting Issues Jim Rech Excel Programming 0 September 2nd 04 03:36 PM
Trouble with copy and paste Hotbird[_2_] Excel Programming 1 February 20th 04 03:24 PM


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