Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Software Development
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram registry router security slow software sound toshiba trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Software Development >
Solved: Microsoft excel deletion macro?

Reply  
Thread Tools
james@creative's Avatar
Junior Member with 2 posts.
 
Join Date: Apr 2009
Experience: Beginner
15-Apr-2009, 10:04 AM #1
Solved: Microsoft excel deletion macro?
Dear Tech Guys I hope can help as thought of manually deleting all this data is making me lose the will to live.
I need to delete all data contained within brackets
Example
Audrey Fletcher-price (creative director)
Yucca Tong (General Manager)
Steve Parkhouse (studio manager)
Peter Edwards (head of production)

Can you create a macro in visual basic for this?
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 5,030 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
15-Apr-2009, 04:16 PM #2
Hi there, welcome to the board!

Sure there is. And here ya go...
Code:
Sub ClearData()
    Cells.Replace What:=" (*", Replacement:=""
End Sub
Edit: Of course you could do this using regular Replace from the Edit menu.

HTH
james@creative's Avatar
Junior Member with 2 posts.
 
Join Date: Apr 2009
Experience: Beginner
16-Apr-2009, 05:36 AM #3
worked like a dream
Reply

Tags
delete, excel, macros, visual basic script

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:55 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.