Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Saving Excel document without macros
Hi,
I have a document that runs periodically a macro to treat data that a collect from an external device. I want to save this new data in a woorkbook withou the macro. How can I do that? Thanks in advance Rui |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Saving Excel document without macros
Hi, Rui. Something like this might help:
http://www.vbaexpress.com/kb/getarticle.php?kb_id=359 ******************* ~Anne Troy www.OfficeArticles.com "Rui Álvares" wrote in message ... Hi, I have a document that runs periodically a macro to treat data that a collect from an external device. I want to save this new data in a woorkbook withou the macro. How can I do that? Thanks in advance Rui |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Saving Excel document without macros
Hi Rui,
If the data is held in one worksheet "Data" (say) and the VBA code is in a standard module, then Sub CodelessWorkbook() 'Create a new singlesheet workbook ThisWorkbook.Sheets("Data").Copy 'Save and name the new workbook ActiveWorkbook.SaveAs "NewFileName" End Sub Change Data to your sheet name. --- Regards, Norman "Rui Álvares" wrote in message ... Hi, I have a document that runs periodically a macro to treat data that a collect from an external device. I want to save this new data in a woorkbook withou the macro. How can I do that? Thanks in advance Rui |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
saving an excel document as a PDF | Excel Discussion (Misc queries) | |||
Saving Excel Document to PDF | Excel Discussion (Misc queries) | |||
Saving Document in Excel | Excel Discussion (Misc queries) | |||
Automatically Saving an Excel Document as a Web Page | Excel Discussion (Misc queries) | |||
weird saving of a document with macros resulting with macros being transfered to the copy | Excel Programming |