+ Reply to Thread
Results 1 to 3 of 3

How to fix the cell in programming?

  1. #1
    Registered User
    Join Date
    12-01-2011
    Location
    India
    MS-Off Ver
    Microsoft 365
    Posts
    33

    How to fix the cell in programming?

    I have a formula
    Sub Macro2()
    '
    ' Macro2 Macro
    ' Macro recorded 17.05.2012 by URDHUV
    '


    For x = 1 To 10
    ActiveSheet.Range("AD" & x).Select
    ActiveCell.FormulaR1C1 = _
    "=CONCATENATE(RC[-1],"" "",RC[-12],RC[-11],"" "",RC[-10],RC[-9])"
    Next x

    End Sub

    Here instead of RC[-1] i want to use $AC$2 and fix that cell in the formula;

    Please guide me how to do that?

  2. #2
    Registered User
    Join Date
    12-01-2011
    Location
    India
    MS-Off Ver
    Microsoft 365
    Posts
    33

    Re: How to fix the cell in programming?

    I think i got the solution i just put the number :-)
    as R2C29 and now this cell is remaining fixed.

  3. #3
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: How to fix the cell in programming?

    Hi vinitdhuri,

    Try this:

    Please Login or Register  to view this content.
    HTH

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

+ 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