#1
|
|||
|
|||
Delete a row of text with one click
I currently have a report template I utilize daily on MS Word. I have about 15 bullet points in my report. I typically delete several of these bullet points depending on a set of factors unique to my case. I delete them by highlighting them and clicking backspace. However, I can move much quicker if there was a way to simply delete the given bullet point with one click. Is there a way to set this up on a table or form where it will completely delete the row (or bullet point) of text with a single click? Attached is an example. Thank you. |
#2
|
||||
|
||||
You can make use of a macro such as the following:
Code:
Sub DeleteCurrentBulletItem() On Error GoTo errhandler If Selection.Paragraphs(1).Range.ListFormat.ListTemplate Is Nothing Then Exit Sub End If Selection.Paragraphs(1).Range.Delete errhandler: Exit Sub End Sub
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#3
|
|||
|
|||
You got it! Thanks!
|
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Microsoft Word macro to find text, select all text between brackets, and delete | helal1990 | Word VBA | 4 | 02-05-2015 03:52 PM |
Text Box Mouse Right Click Features not available | CTQE1 | Word | 1 | 11-06-2014 05:00 PM |
How to remove the "Delete" option when I right click on sheet tab - HELP HELP HELP | barryoffshore | Excel | 2 | 06-23-2014 04:57 AM |
One click check box with text editing | sephiroth2906 | Word | 3 | 01-11-2012 10:21 AM |
Click to Add Placeholder Text | scottv1001 | PowerPoint | 9 | 08-23-2010 10:44 AM |