LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 113
Default Posting code with IF

The following code is only part of larger posting process. I require
assistance for this posting to be done only if DG77 is NOT €œ€ i.e. there must
be value, zero is not a value. Additional info, the formula in DG77 is
=IF($DF$8=1,$DF$3,€€) DF3 has a positive number all the time.

Set CopyRng = _
Sheets("Sheet2").Range("DG77", "DH77")
Set DestRng = _
Sheets("Sheet1").Cells(65536, "F").End(xlUp).Offset(1, 0)
i = 0
For Each cell In CopyRng
DestRng.Offset(0, i).Value = cell
i = i + 2
Next

Similar postings (without conditions) take place before and after
the process above.

Thank you.

--
Robert
 
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
posting Sam Excel Discussion (Misc queries) 3 February 23rd 10 05:03 PM
[OT] posting tomek gomek Excel Worksheet Functions 24 July 28th 07 03:16 AM
(1) VARIABLE IN POSTING CODE (2) LOOPING Robert Excel Programming 2 September 14th 05 06:31 AM
the owner of posting should be able to delete the posting Mahendra Excel Discussion (Misc queries) 7 August 8th 05 07:21 PM
Posting in the next row Greg Excel Worksheet Functions 1 January 18th 05 08:57 PM


All times are GMT +1. The time now is 10:25 PM.

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"