Hi,
I have a VBA macro which exports the xml mentioned with xml schema . I want to export the xml with date mentioned in the excel sheet at cell D37 . Have written a macro to export with date . But macro is giving error
Here is the macro code:
Thanks in advance,![]()
Sub EXPORTLOG() ' ' EXPORTLOG Macro ' ActiveWorkbook.SaveAsXMLData fileName:="C:\FILES\FILE WCM " & Range("D37").value .FormatConditions(Date, "yyyymmdd") & ".xml", Map:=ActiveWorkbook. XmlMaps ("LOG SCHEMA") ' End Sub
Mayur
Bookmarks