Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default reset value in a column

Pleae can anyone advise me how to set reset a value to nothing
depending on its current value using VBA.

I have an excel column called 'New?' if the value is 'Y' I want to
return it to null.
Any help would be appreciated,
Redge

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default reset value in a column

Hi Redog6

Try:

'=============
Public Sub Tester001()
Range("New").Replace What:="Y", _
Replacement:="", _
LookAt:=xlWhole, _
MatchCase:=False
End Sub
'<<=============

---
Regards,
Norman



wrote in message
ups.com...
Pleae can anyone advise me how to set reset a value to nothing
depending on its current value using VBA.

I have an excel column called 'New?' if the value is 'Y' I want to
return it to null.
Any help would be appreciated,
Redge



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default reset value in a column

Many thanks Norman - that worked fine - Redge

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
Pivot Table (column/row) label cache reset Kris Excel Discussion (Misc queries) 4 December 31st 12 09:07 AM
How: reset the column headings from numeric to alphabetic? KRM Excel Discussion (Misc queries) 1 March 12th 10 08:31 PM
How do I Reset Column lettering Boblink Excel Worksheet Functions 6 May 24th 08 07:20 PM
Column widths reset to default when pasted into a new work book boxarox Excel Discussion (Misc queries) 0 May 16th 08 08:51 PM
Because of row/column deletions, how do you reset the last cell? AndreaW Excel Discussion (Misc queries) 3 March 23rd 06 06:13 PM


All times are GMT +1. The time now is 10:18 PM.

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

About Us

"It's about Microsoft Excel"