#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default Skip code

How can I skip this code if Cell A1 of the row below the active cell
contains a value?


Range(.EntireRow.Columns("A").Cells(1), _
.Offset(2, 0).EntireRow.Columns("A")).FillDown


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Skip code

If Activecell.Offset(1,0).Value < "" The
Range(.EntireRow.Columns("A").Cells(1), _
.Offset(2, 0).EntireRow.Columns("A")).FillDown
End If


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Patrick Simonds" wrote in message
...
How can I skip this code if Cell A1 of the row below the active cell
contains a value?


Range(.EntireRow.Columns("A").Cells(1), _
.Offset(2, 0).EntireRow.Columns("A")).FillDown




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
Macros skip steps and/or stops in the middle of code [email protected] Excel Programming 5 November 9th 06 09:18 PM
How to have a Macro skip code if PivotTable/PivotField is not there [email protected] Excel Programming 0 January 29th 06 11:38 AM
skip some code davegb Excel Programming 5 December 1st 05 05:22 PM
skip code monika Excel Programming 1 February 26th 04 02:33 AM
Excel skip some lines of VBA code Alex[_7_] Excel Programming 1 August 28th 03 12:18 PM


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