Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-28-2016, 05:59 PM
skywriter skywriter is offline Copying Same Value Between Two Cells Windows 7 32bit Copying Same Value Between Two Cells Office 2010 32bit
Novice
 
Join Date: Apr 2015
Posts: 5
skywriter is on a distinguished road
Default

Try this on your example sheet.
Code:
Sub FillIn()
Dim ws As Worksheet, lr As Long, rngData As Range, r As Range
Set ws = Worksheets("DetailedTBFY15")
Application.ScreenUpdating = False
    With ws
        lr = .Cells(Rows.Count, "B").End(xlUp).row
        Set rngData = .Range("B5:B" & lr)
    End With
    With rngData.SpecialCells(4)
            For Each r In .Areas
                r.Value = r(0).Value
            Next r
    End With
Application.ScreenUpdating = True
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying Same Value Between Two Cells Copying text into multiple cells at once BIMwit Word Tables 1 05-14-2015 09:50 PM
Copying specific cells to a new sheets also give sheetname dapeamel Excel 0 02-24-2015 09:20 AM
Copying text range of cells to different cells adds an extra line jpb103 Word VBA 2 07-23-2014 12:22 PM
Copying a formula that uses pivottable cells Paul46 Excel 0 02-08-2014 07:04 AM
Copying Same Value Between Two Cells Copying cells isminoh Excel 5 04-18-2012 11:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:47 AM.


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