+ Reply to Thread
Results 1 to 3 of 3

VBA Code to copy row but not formula?

  1. #1
    Forum Contributor
    Join Date
    04-22-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    329

    Smile VBA Code to copy row but not formula?

    Good day all,

    I have a userform "command button" that populates a record into the next available row in Sheet "Form" when populated I have assigned a column to generate a unique number for the new row, once complete the code then transfers all data in that row to a second sheet "SWMS", the problem is it also copies the formula across & subsequently changes my unique code, how can I transfer just the data & not the formula?

    Please Login or Register  to view this content.

    Thank you all once again for your assistance, this site has been an amazing wealth of information for me - Marco
    Last edited by matrixpom; 10-24-2012 at 07:50 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,935

    Re: VBA Code to copy row but not formula?

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    04-22-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    329

    Re: VBA Code to copy row but not formula?

    Hi protonLeah,

    The title of "Forum Guru" is more than well deserved, works perfectly, thank you very much indeed!! Marco

+ 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