Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default Range 's top property

Hi all,

what is range's top property about and what is the unit?

Clara
--
thank you so much for your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Range 's top property

Sub ordinate()
x = Selection.Top
MsgBox (x)
End Sub

will measure how far the top of a range is from the top of the first row.

The unit is the name of a boring t.v. show
--
Gary''s Student - gsnu200720
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Range 's top property

Serously, the unit is in points
--
Gary''s Student - gsnu200720


"clara" wrote:

Hi all,

what is range's top property about and what is the unit?

Clara
--
thank you so much for your help

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Range 's top property

Here you go, Clara. Right out of VBA help file.

"The distance from the top edge of row 1 to the top edge of the range. If
the range is discontinuous, the first area is used. If the range is more than
one row high, the top (lowest numbered) row in the range is used. Read-only
Variant."



"clara" wrote:

Hi all,

what is range's top property about and what is the unit?

Clara
--
thank you so much for your help

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Range 's top property

P.S. I believe the default measurement is in pixels, so you would need to
know your screen resolution setting to use the top property properly.
There's a tongue twister for you.

"clara" wrote:

Hi all,

what is range's top property about and what is the unit?

Clara
--
thank you so much for your help

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
Use of Range Property Arnold Klapheck Excel Programming 5 August 28th 06 08:19 PM
VBA Range Property AndrewCrisp[_2_] Excel Programming 3 July 23rd 06 09:27 PM
range property of range object Woody[_3_] Excel Programming 1 June 23rd 05 09:04 PM
Range Resize property jacqui[_2_] Excel Programming 7 February 24th 04 06:11 PM
using a range with isnumber property chick-racer[_33_] Excel Programming 2 November 12th 03 06:53 PM


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

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"