+ Reply to Thread
Results 1 to 5 of 5

macro to copy with incremental values

  1. #1
    Registered User
    Join Date
    09-17-2007
    Posts
    31

    macro to copy with incremental values

    Hi folks,
    i have this macro that copies the values of the formula and pastes in steps every 30 rows. It is working except that it copies the formula without increasing the value of the cells in the formula. So that now i have the same formula on row 1 and row 30, row 60 etc

    what's wrong?

    thanks
    Please Login or Register  to view this content.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: macro to copy with incremental values

    please attach sample file and where it is giving wrong results
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: macro to copy with incremental values

    Does the formulas in A1:F1 have locked cell references? How does the formulas look like?

  4. #4
    Registered User
    Join Date
    09-17-2007
    Posts
    31

    Re: macro to copy with incremental values

    hi berlan,
    the formulae are as follows
    thanks for taking the toruble

    =TODAY()
    ='C:\M-C\[Meta-ASCII.xlsm]Sheet1'!$D$11
    =MAX('C:\M-C\[Meta-ASCII.xlsm]Sheet1'!$E$1:$E$11)
    =MIN('C:\M-C\[Meta-ASCII.xlsm]Sheet1'!$F$1:$F$11)
    ='C:\M-C\[Meta-ASCII.xlsm]Sheet1'!$G$1
    =SUM('C:\M-C\[Meta-ASCII.xlsm]Sheet1'!$H$1:$H$11)

  5. #5
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: macro to copy with incremental values

    try your macro after changing the formulas to;

    =TODAY()
    ='C:\M-C\[Meta-ASCII.xlsm]Sheet1'!$D11
    =MAX('C:\M-C\[Meta-ASCII.xlsm]Sheet1'!$E1:$E11)
    =MIN('C:\M-C\[Meta-ASCII.xlsm]Sheet1'!$F1:$F11)
    ='C:\M-C\[Meta-ASCII.xlsm]Sheet1'!$G1
    =SUM('C:\M-C\[Meta-ASCII.xlsm]Sheet1'!$H1:$H11)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Autofill exact copy of data, not incremental
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2015, 10:40 AM
  2. Form Scroller not stopping at incremental values assigned
    By rikkyshh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-20-2013, 06:48 PM
  3. Incremental values based on user input
    By hanumanthindirala in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-18-2013, 02:34 PM
  4. Incremental Values
    By ZooTV92 in forum Excel General
    Replies: 5
    Last Post: 03-31-2011, 09:24 PM
  5. Formatting query, incremental values with leading zeros
    By shockeroo in forum Excel General
    Replies: 5
    Last Post: 04-08-2009, 08:28 AM
  6. Formula for assigning points for incremental values
    By mashley in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-04-2008, 01:52 PM
  7. Extract unique rows and incremental copy
    By vedamv in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-29-2006, 03:48 AM

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