+ Reply to Thread
Results 1 to 6 of 6

Macro modification required (very small)

Hybrid View

  1. #1
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Macro modification required (very small)

    Hello nur2544,

    Or you could change your code to:

    Sub EnterFormula()
        Sheets(Array("i6", "i7", "i8", "i9", "i10", "i11", "i12", "i13", "i14", "i15")).Select
        Sheets("i6").Activate
        Range("AB6").Select
        ActiveCell.Formula = "=IF(COUNT(BD6:BL6)=0,"""",SUM(BD6:BL6)/9)"
        Sheets("i6").Select
    
    End Sub
    Also see the "Please consider" note at the bottom of this post.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  2. #2
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    640

    Re: Macro modification required (very small)

    Hi,Winon
    Excellent..Thanks.

+ 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