Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 ngrunoz
		
			ngrunoz
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		I have a document which has got text, numbers and Dates. when I use filters(Remove(Row, RowCnd(CellValue, 2, StrCnd (null))) in the Script editor to remove some of the rows it distorts the Number and Date formats. How can I Edit it in order to maintain the same formats.
 
					
				
		
 rwunderlich
		
			rwunderlich
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		The filters do have the unfortunate side effect of losing the formats. You can restore them in the script by wrapping the fields in Num() or Date() functions as appropriate.
Date([Movement Date]) as [Movement Date],
num([Value Purchased], '$#,##0.00') as [Value Purchased]
-Rob
 
					
				
		
 vinieme12
		
			vinieme12
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Please post a sample excel file , screenshots so people here can help you better
How to get answers to your post?
 
					
				
		
 ngrunoz
		
			ngrunoz
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Attached Sample Data
 
					
				
		
 bertinabel
		
			bertinabel
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi, story
Try the following:
I hope I've helped
Regards
 
					
				
		
 rwunderlich
		
			rwunderlich
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		The filters do have the unfortunate side effect of losing the formats. You can restore them in the script by wrapping the fields in Num() or Date() functions as appropriate.
Date([Movement Date]) as [Movement Date],
num([Value Purchased], '$#,##0.00') as [Value Purchased]
-Rob
