Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Range description

Hello everyone

At present I am using

Range("A4:A3000")

How can I say Range("A4:A{last non empty cell}")

I can locate the cell with Range("A65536").End(xlUp) but how do you write
this as a range reference?

Kenny


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default Range description

Hi Kenny

Dim R As Range
Set R = Range(Range("A4"), Range("A65536").End(xlUp))

HTH. Best wishes Harald

"N E Body" skrev i melding
...
Hello everyone

At present I am using

Range("A4:A3000")

How can I say Range("A4:A{last non empty cell}")

I can locate the cell with Range("A65536").End(xlUp) but how do you write
this as a range reference?

Kenny




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
Argument description steve Excel Discussion (Misc queries) 3 May 28th 10 03:50 PM
=IF(AND(' Job Duties Description'!S50,' Job Duties Description'!S5 Chad Excel Discussion (Misc queries) 3 March 23rd 09 05:41 PM
Help and description for UDFs [email protected] Excel Worksheet Functions 0 March 13th 07 05:05 AM
Put help/description in formulas (XLA) Rodrigo Ferreira Excel Discussion (Misc queries) 3 September 19th 06 09:43 PM
Description box in excel Schmyerlou Excel Discussion (Misc queries) 1 December 1st 04 07:07 PM


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