Results 1 to 8 of 8

Offset_formualcells_two rows_

Threaded View

  1. #1
    Forum Contributor
    Join Date
    05-04-2016
    Location
    London
    MS-Off Ver
    MS Office Excel 2010/2013
    Posts
    354

    Offset_formualcells_two rows_

    Hi ,

    Wondering if some once code help me doing small modifications on the below code . and I am my requirement is I want the code to search the cells that has formula in particular column (X) and identifies the formula cells and offset to 2 rows .


    Sub Findformulacells()
    
    Dim x As Range
    Set x = ActiveSheet.Cells.Find.SpecialCells(xlCellTypeFormulas).LookIn:=xlFormulas
    
        If Not x Is Nothing Then
             x.Offset(, 2).Value = x.Value
             x.Clear
        End If
    Set x = Nothing
    End Sub
    Please find attached example file for your reference .
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1