View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Dominik Dominik is offline
external usenet poster
 
Posts: 11
Default XMLSS document to Excel document in .xls format

Hi again,

I mean to execute excel from the windows command line, open my XMLSS file
and run the marco automatically.

Thaks for all,

Dominik.


"Eduardo" wrote:

Hi Dominik,
You can go to macro choose the macro and click run, if you mean to add to
the ribbon, You cannot do that

"Dominik" wrote:

Hi Eduardo,

Thanks for your useful response. But I also need to know if I could execute
this macro to my XMLSS file from the command line...

Thanks again,

Dominik.



"Eduardo" wrote:

Hi,
sorry if you get this message twice but I got a message error when sending
use a button with the macro as follow

Sub BM_XLS_Copy()
'
' BM_XLS_Copy Macro
'

'
ActiveWorkbook.Save
ActiveWorkbook.SaveAs Filename:= _
"C:Yourfilename.xls", FileFormat:=xlExcel8, Password:="",
WriteResPassword:="", ReadOnlyRecommended:=False _
, CreateBackup:=False
End Sub


"Dominik" wrote:

Hi all,

I need to save an Excel Xml document (XMLSS) as an Excel document in .xsl
format.

Does anyone know some automatic way to do this?

Thanks in advance,

Dominik.