+ Reply to Thread
Results 1 to 2 of 2

Macro Modification

  1. #1
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Macro Modification

    Sub Package()

    Range("L2").Select
    Do
    If ActiveCell.Value = "" Then
    ActiveCell.Value = "=((ROUNDUP((RC[-1]/1.5),0))*1.5)"
    ActiveCell.Value = ActiveCell.Value
    ActiveCell.Offset(1, 0).Select
    Else
    ActiveCell.Offset(1, 0).Select
    End If
    Loop Until IsEmpty(ActiveCell.Offset(0, -2))
    End Sub


    dear friends after running above macro if cell values 31.5,33,61.5,63 then this all 4 values need to replace with 34.5.pls make this for me.thanks,,,
    Last edited by johncena; 02-16-2010 at 01:32 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Macro Modification

    Please change your QUOTE tags to CODE tags, and amend your thread title to describe your problem.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

+ 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