Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Walker
 
Posts: n/a
Default Auto-delete Unbolded Cells

Hi,

Using Excel 2003 I have a worksheet where some of the cells are bolded text
and the rest are un-bolded text. The text in every un-bolded cell needs to
be deleted but there's so many that it takes a very long time to do it
manually. Is there a way to automate this process?

Thanks!
John

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default Auto-delete Unbolded Cells

Here's a quick macro. Back up your data first

For information on installing the code see
Getting Started with Macros and User Defined Functions

http://www.mvps.org/dmcritchie/excel/getstarted.htm


sub DeleteRegular
dim rng as range
dim cc as range

set rng = activesheet.usedrange
for each cc in rng
if Not cc.Font.Bold Then cc.clearcontents
next

end sub


"John Walker" wrote:

Hi,

Using Excel 2003 I have a worksheet where some of the cells are bolded text
and the rest are un-bolded text. The text in every un-bolded cell needs to
be deleted but there's so many that it takes a very long time to do it
manually. Is there a way to automate this process?

Thanks!
John

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Walker
 
Posts: n/a
Default Auto-delete Unbolded Cells

Worked. Thanks!!!

"Duke Carey" wrote:

Here's a quick macro. Back up your data first

For information on installing the code see
Getting Started with Macros and User Defined Functions

http://www.mvps.org/dmcritchie/excel/getstarted.htm


sub DeleteRegular
dim rng as range
dim cc as range

set rng = activesheet.usedrange
for each cc in rng
if Not cc.Font.Bold Then cc.clearcontents
next

end sub


"John Walker" wrote:

Hi,

Using Excel 2003 I have a worksheet where some of the cells are bolded text
and the rest are un-bolded text. The text in every un-bolded cell needs to
be deleted but there's so many that it takes a very long time to do it
manually. Is there a way to automate this process?

Thanks!
John

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto color fill cells Chopper New Users to Excel 6 March 6th 06 03:04 AM
Formula to delete blank cells across multiple columns? SamFunMail Excel Worksheet Functions 2 September 1st 05 07:05 AM
re auto cloring of cells bigdaddy3 Excel Worksheet Functions 0 August 16th 05 12:08 PM
Locate and delete specific cells David Smith Excel Discussion (Misc queries) 1 January 19th 05 04:45 PM
How do you delete one cell from a range of protected cells Cgbilliar Excel Worksheet Functions 2 November 3rd 04 10:42 PM


All times are GMT +1. The time now is 05:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"