Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Cosmo
 
Posts: n/a
Default Worksheet to Column Distance

Need to find the distance from left edge of worksheet to the right side of a
column. The old version of Excel used "get.cell(44) - get.cell(42). This
dosen't work in the newer versions.
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

get.cell still works but you have to call it through a named formula:

InsertNameDefine
Name: Distance
Refers to: =Get.Cell(44)-Get.Cell(42)

Usage: =Distance

Here's what help says about Get.Cell 42 and 44:

42 The horizontal distance, measured in points, from the left edge of the
active window to the left edge of the cell. May be a negative number if the
window is scrolled beyond the cell.

44 The horizontal distance, measured in points, from the left edge of the
active window to the right edge of the cell. May be a negative number if the
window is scrolled beyond the cell.

Biff

"Cosmo" wrote in message
...
Need to find the distance from left edge of worksheet to the right side of
a
column. The old version of Excel used "get.cell(44) - get.cell(42). This
dosen't work in the newer versions.



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
Lookup Table Dilemma Karen Excel Worksheet Functions 2 June 10th 05 08:22 PM
On an Excel Worksheet I want to view column headings as I scroll . sharon Excel Discussion (Misc queries) 1 March 14th 05 11:39 PM
Despite formatting a column in Excel 2002 worksheet as Short Date. Pete Whalley Excel Discussion (Misc queries) 2 February 7th 05 06:17 PM
Copy a column in worksheet with a character change photowiz Excel Worksheet Functions 1 February 5th 05 03:35 PM
Seach Column and return multiple dates to another worksheet? Mcasteel Excel Worksheet Functions 0 November 10th 04 07:41 PM


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