+ Reply to Thread
Results 1 to 5 of 5

create macro that clears text from a text box

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    Australia
    Posts
    11

    Question create macro that clears text from a text box

    Hi all

    I am working on a sheet where I want to be able to clear the contents of a text box ie: fill out a form, then press reset button to print & start again. I have tried till Im blue in the face and cannot get it right. Im using Excel 2007 (thinking of going back to 2003 lol)

    I think the problem is that the text box is created in the INSERT>TEXTBOX rather than the old 2003 version where you use the old style forms toolbar (which seems to be gone??)

    Any help would rock guys, thanks in advance!

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    It hasn't gone, there's an Insert button in the Developer Tab.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    10-23-2008
    Location
    Australia
    Posts
    11
    thanks for that, I worked out how to show that toolbar - but I cannot insert a text box from there. Is there a way a macro can be coded to just delete the contents of the text box I currently have?

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You will need to use the correct name of your shape
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-23-2008
    Location
    Australia
    Posts
    11
    I love you :P

+ 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