Results 1 to 2 of 2
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SOLVED: MULTIPLICATE * 1 (2000 sr 1)

    ... is possible to use vba multiplicate the value in the column G dountil active cells and insert the result in column X?
    I have insert an example in X with the formula in Excel...

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: SOLVED: MULTIPLICATE * 1 (2000 sr 1)

    Not sure exactly what you are after. But This will create those formulas

    <pre>Option Explicit
    Sub SALCode()
    Dim rCell As Range
    Dim rng As Range
    Dim iOffset As Integer
    iOffset = 17
    Set rng = Range(Range("g1"), Range("g65536").End(xlUp))
    For Each rCell In rng
    rCell.Offset(0, iOffset).Formula = _
    "= " & rCell.Value & "* 1"
    Next
    End Sub</pre>


    Steve

Posting Permissions

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