+ Reply to Thread
Results 1 to 4 of 4

undo code which wrote in text box

  1. #1
    Forum Contributor
    Join Date
    11-18-2014
    Location
    alex
    MS-Off Ver
    excel
    Posts
    135

    undo code which wrote in text box

    want when I hit previous code button it make last code whichi wrote in text box 1 appear again
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: undo code which wrote in text box

    Create a Public variable to store the value in when you've entered it, then whenever someone hits Undo, replace the text in the textbox1 with the contents of the variable. If you really want to be flash then create an array and keep adding to it whenever values are added, reverting back an item whenever Undo is pressed therefore you could Undo multiple times.
    If someone has helped you then please add to their Reputation

  3. #3
    Forum Contributor
    Join Date
    11-18-2014
    Location
    alex
    MS-Off Ver
    excel
    Posts
    135

    Re: undo code which wrote in text box

    I am sorry I can't understand what you say as I am beginner in vba .if you can make these in my sheet and upload it again this will be kind from you

  4. #4
    Forum Contributor
    Join Date
    11-18-2014
    Location
    alex
    MS-Off Ver
    excel
    Posts
    135

    Re: undo code which wrote in text box

    I am beginner in vba so I can't do what you say

+ 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. I wrote an undo macro but not run properly
    By mrkhchan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-02-2015, 01:08 PM
  2. Why is this VBA code (that I wrote) executing so slow?
    By johnw993 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-11-2015, 10:18 PM
  3. Using vba code with undo option
    By Masa1989 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-22-2015, 03:08 AM
  4. The runtime for my code I wrote takes too long, is there a way tocan you condense?
    By dnice0123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2014, 03:33 AM
  5. Replies: 10
    Last Post: 11-13-2013, 09:01 PM
  6. VBA code that I wrote seems to be looping without a Do...Loop statement. Why?
    By carpe.cervisiam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2012, 12:08 AM
  7. Code is stopping undo
    By NeilE in forum Excel General
    Replies: 2
    Last Post: 03-13-2011, 11:24 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