Sub XML()
Open "C:\books.xml" For Output As #1
Print #1, "<?xml version=""1.0"" encoding=""iso-8859-9"" ?>"
Print #1, "<books>"
'Sorry. In VB, variable's name do not contain "-". It would be underscore "_".
Dim row_index
row_index = 2 ' First record.
Do Until Cells(row_index...
Let's write a macro.
1. How can we reach content of any cell?
For A2 cell, we have 5 ways,
a. Cells(1,2)
Cells(row-index,col-index)
b. Worksheets("Sheet1").Range("A2").Value
c. Worksheets("Sheet1").Cells(1,2).Value
d. Sheet1.Cells(1, 2).Value
e...
te get the other solution, we cancelling a line in the <script> block..
...
//document.links[i].parentElement.className="hideAnchor";
document.links[i].parentElement.style.visibility="hidden";
...
<html>
<head>
<script language="JavaScript">
function calculate()
{
var l;
var w;
var h;
l=parseInt(document.forms[0].length.value);
w=parseInt(document.forms[0].width.value);
h=parseInt(document.forms[0].height.value);
var r=0;
r=l+w+h...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.