Results 1 to 7 of 7

Help with code to creat Reset button to clear cells and copy back the original formula

Threaded View

  1. #4
    Forum Contributor
    Join Date
    06-17-2014
    Location
    london
    MS-Off Ver
    365
    Posts
    398

    Re: Help with code to creat Reset button to clear cells and copy back the original formula

    ALternativel when I add the following
    Sub Reset()
        With Sheet2.Range("C5:C9")
            .Formula = "=if(B5<>"",VLOOKUP(B5,Sheet1!$B:$E,2,FALSE),"")"
        End With
    End Sub
    I get the follwoing error
    Run Time 1004 Application error or Object Defined Error

    Any suggestions?
    Last edited by rv02; 07-30-2015 at 02:01 PM. Reason: Mis Type

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Reset button to set all data to original settings
    By jungleskipper1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2015, 10:18 PM
  2. [SOLVED] Userform button action - clear,copy paste and print crashes. Please help with code
    By intex in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-05-2014, 12:16 PM
  3. Replies: 0
    Last Post: 06-28-2014, 02:26 PM
  4. Help: Reset input data back to original
    By jasonj427 in forum Excel General
    Replies: 5
    Last Post: 01-22-2013, 01:49 AM
  5. Macro to copy Dyanmic lists then copy sheet and clear the original data
    By twiggywales in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-30-2012, 01:06 PM
  6. How to when deselecting my radio button list and my excel goes back to original ?
    By achill3s in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-21-2011, 05:49 AM
  7. code to move cells back to thier original location
    By twofootgiant in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-28-2011, 07:32 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