Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can someone assist with VBA code within excel to kick off notepad, do a paste
(because I've already issued a copy) and then save the file as message.txt and close to return to excel. Thanks in advance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Aug 28, 1:54 pm, SkyEyes wrote:
Can someone assist with VBA code within excel to kick off notepad, do a paste (because I've already issued a copy) and then save the file as message.txt and close to return to excel. Thanks in advance. Why not save as text from excel? You can use the SaveAs method or SaveCopyAs. Example: ActiveWorkbook.SaveAs fileFormat:=xlTextWindows Take care though, because it will only save the active sheet. So paste what you want to save as text to a new sheet (or a new workbook if you have other data that you don't want to lose) and then save as text. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting excel to notepad | Excel Discussion (Misc queries) | |||
Notepad to excel | Excel Discussion (Misc queries) | |||
notepad to excel | New Users to Excel | |||
Control Notepad from Excel | Excel Programming | |||
notepad in excel | Excel Programming |