Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings:
Have workbooks with 6 - 8 worksheets. Need to convert all "used" cells to text ie: no formulas, or vba left over (like RDB does with his SendMail add-in) After this is done, i will have to do all kinds of hiding, deletions, etc. but the convert have to be done first, so I don't loose info due to the deletions. The end result will be in a format that is e-mailed in .xls format and will look the same as the actually hard copy. thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub MakeText()
for each sh in ActiveWorkbook.worksheets sh.UsedRange.copy sh.UsedRange.PasteSpecial xlValues Next End Sub If you want to remove code see Chip Pearson's site http://www.cpearson.com/excel/vbe.htm -- Regards, Tom Ogilvy "BEEJAY" wrote: Greetings: Have workbooks with 6 - 8 worksheets. Need to convert all "used" cells to text ie: no formulas, or vba left over (like RDB does with his SendMail add-in) After this is done, i will have to do all kinds of hiding, deletions, etc. but the convert have to be done first, so I don't loose info due to the deletions. The end result will be in a format that is e-mailed in .xls format and will look the same as the actually hard copy. thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks, Tom.
Short and sweet, as always. "Tom Ogilvy" wrote: Sub MakeText() for each sh in ActiveWorkbook.worksheets sh.UsedRange.copy sh.UsedRange.PasteSpecial xlValues Next End Sub If you want to remove code see Chip Pearson's site http://www.cpearson.com/excel/vbe.htm -- Regards, Tom Ogilvy "BEEJAY" wrote: Greetings: Have workbooks with 6 - 8 worksheets. Need to convert all "used" cells to text ie: no formulas, or vba left over (like RDB does with his SendMail add-in) After this is done, i will have to do all kinds of hiding, deletions, etc. but the convert have to be done first, so I don't loose info due to the deletions. The end result will be in a format that is e-mailed in .xls format and will look the same as the actually hard copy. thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do i convert diagonal text into horizontal text | Excel Worksheet Functions | |||
How do I convert a text array to a concatenated text cell? Excel. | Excel Worksheet Functions | |||
convert a range of lowercase text to upper text or vice versa | Excel Worksheet Functions | |||
Macro for Text to Columns - convert to text or general | Excel Programming |