Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Macro to Paste Special Row Heights

All -

The Paste Special menu has often frustrated me, for I would often make
three trips there for effectively one pasting: 1. Paste Special
Values, 2. Paste Special Formats, and 3. Paste Special Column Widths.

This week I acted upon my frustration and made a userform in
Personal.xls that replaces the Paste Special radio buttons with
check-boxes. Works fine, does it all in one step. The code for the
check-boxes as true is the code from the recorder, fixing the holes for
column width's and data validation's missing constants (8, 6).

"Clever," says I. "Why don't you add to it and do a Paste Special Row
Heights?"

Why? Because I can't figure out how to get at the row data of the
source (copied) range. You select a range and copy, and then select
usually a single cell and paste. How via VBA do I know the row
dimensions of what is in memory--the former selection? I found code on
Google Groups that does this by input boxes. Not what I want.
Microsoft figured it out for columns.

What's the trick?


Thanks in advance.

....best, Hash
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
Cut & Paste Need Special Macro Miss Kitty[_2_] Excel Discussion (Misc queries) 6 August 25th 08 09:12 PM
Cut and Paste using Macro gives paste special method error Lourens Pentz Excel Programming 3 November 21st 04 10:42 PM
Dynamic Copy/Paste Special Formulas/Paste Special Values Sharon Perez Excel Programming 3 August 7th 04 09:49 PM
Macro to Paste Special MrAlMackay Excel Programming 0 July 17th 03 05:33 PM
Macro to Paste Special MrAlMackay Excel Programming 0 July 17th 03 04:27 PM


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