I want to place excel file in some other domain.

  • Thread starter Thread starter areddy
  • Start date Start date
A

areddy

Hi All,

Below code is to save the excel file in specified path.

--------------------------------------------------------------------------
Dim strExcelSave As String

strExcelSave = "\\WKS0010(some other machine with in th
network)\test\Working Folders\Test.xls"

m_objExcel.ActiveWorkbook.SaveAs (strExcelSave)

MsgBox ("Your Report has been saved in "
strExcelSave & " path")

--------------------------------------------------------------------------
iam able to save the file perfectlly.

but if i want to save the file(test.xls) in other domain.

how can i place the file in other machine in other domain with the i
address.

please help me on this regard.

Thanks&Regards,
Areddy.
 
that is right!!!
instead of taking a String Variable you can also put the >path directly in
saveas

m_objExcel.ActiveWorkbook.SaveAs
("\\WKstation\path\Text.xls")


Regards,
Ankit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top