Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #13  
Old 10-01-2013, 04:26 AM
Rafiko6665 Rafiko6665 is offline Detecting last cell within a block Windows 7 64bit Detecting last cell within a block Office 2010 64bit
Novice
 
Join Date: Sep 2013
Location: Edinburgh
Posts: 1
Rafiko6665 is on a distinguished road
Default

this is for bone block u can generate it for the whole thing easy ozy
Sub y()
Dim i As Double
Dim count As Double
Dim rk As String
count = 0
For i = 1 To 7
If Range("a1").Offset(i - 1, 0) = Range("a1").Offset(i, 0) Then
If Range("c1").Offset(i - 1, 0).Value = "Done" Then count = i
rk = Range("b1").Offset(count, 0).Value
End If
Next i
MsgBox rk
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting last cell within a block Block a page HMS Word 2 07-12-2013 04:40 PM
Detecting last cell within a block Detecting Page Breaks in Mail Merge Directory TimK9VB Mail Merge 6 11-20-2012 01:52 PM
Detecting last cell within a block detecting triggers yisuz PowerPoint 1 05-15-2012 09:16 AM
Detecting last cell within a block block a PP document from printing Paldo PowerPoint 1 05-14-2010 10:20 AM
Detecting Who Opened in Email In Shared Folder jerem Outlook 0 03-20-2010 10:58 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft