+ Reply to Thread
Results 1 to 10 of 10

Macro problem for absolute reference

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-29-2011
    Location
    South Korea
    MS-Off Ver
    Excel 2019
    Posts
    178

    Re: Macro problem for absolute reference

    Dear all,

    After I search the macro for absolute reference in search engine for several days, I still can't get the answer why the macro for the following doesn't work

    Sub Absolute()
    Dim cell As Range
     
    With Sheets("before macro")
     
    For Each cell In Selection
    If cell.HasFormula Then
    cell.Formula = Application.ConvertFormula _
    (cell.Formula, xlA1, xlA1, xlAbsolute)
    End If
    Next
    End With
     
    End Sub
    I tried several times, the macro still doesn't work. I appreciate your reply.
    Attached Files Attached Files
    Last edited by ronlau123; 07-15-2011 at 12:39 AM.

+ Reply to Thread

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