Results 1 to 4 of 4

copy formula and paste it to dynamic table

Threaded View

  1. #1
    Registered User
    Join Date
    04-07-2009
    Location
    Isarel
    MS-Off Ver
    Excel 2003
    Posts
    13

    copy formula and paste it to dynamic table

    Hello Experts

    I am looking for better way to copy formula and paste it to dynamic table (I don’t know how many rows there is at the table).
    The procedure takes long time for the user.
    (the table may contain more than 30,000 rows !!).
    My suggestion:

    Range("B2").Select
    ActiveCell.FormulaR1C1 = "=IF(RC[4]=""+"",0,1)"
    
    tblrows = Range("b2").CurrentRegion.Rows.Count
    
    For i = 3 To tblrows
        Range("b2").Select
        Selection.Copy
        Range("b" & i).Select
        ActiveSheet.Paste
    Next i
    Last edited by Sharky Amit; 04-15-2009 at 04:50 AM.

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