Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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
Please post a sample excel file , screenshots so people here can help you better
How to get answers to your post?
Attached Sample Data
Hi, story
Try the following:
I hope I've helped
Regards
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