M
MikeHolloway
This code works fine client side:
document.forms[0].HourlySpreadsheet.CSVURL
= "../../Counter/" + document.forms[0].tmpFileName.value;
document.forms0].HourlySpreadsheet.ActiveSheet.Protection.
Enabled = false;
document.forms[0].HourlySpreadsheet.ActiveSheet.Name
= "Hourly Data";
document.forms[0].HourlySpreadsheet.ActiveSheet.Cells
(2,4).Activate();
document.forms[0].HourlySpreadsheet.ActiveSheet.Rows
(1).Font.Bold = true;
document.forms0].HourlySpreadsheet.ActiveWindow.FreezePane
s = true;
If I add:
document.forms[0].HourlySpreadsheet.Worksheets(2).Activate
();
document.forms[0].HourlySpreadsheet.ActiveSheet.Name
= "Audit Events";
document.forms[0].HourlySpreadsheet.CSVURL
= "../../Counter/" + document.forms[0].tmpFileName2.value;
The second code does nothing. My ASSumption was that the
CSVURL data was loaded to the active sheet. What am I
missing?
document.forms[0].HourlySpreadsheet.CSVURL
= "../../Counter/" + document.forms[0].tmpFileName.value;
document.forms0].HourlySpreadsheet.ActiveSheet.Protection.
Enabled = false;
document.forms[0].HourlySpreadsheet.ActiveSheet.Name
= "Hourly Data";
document.forms[0].HourlySpreadsheet.ActiveSheet.Cells
(2,4).Activate();
document.forms[0].HourlySpreadsheet.ActiveSheet.Rows
(1).Font.Bold = true;
document.forms0].HourlySpreadsheet.ActiveWindow.FreezePane
s = true;
If I add:
document.forms[0].HourlySpreadsheet.Worksheets(2).Activate
();
document.forms[0].HourlySpreadsheet.ActiveSheet.Name
= "Audit Events";
document.forms[0].HourlySpreadsheet.CSVURL
= "../../Counter/" + document.forms[0].tmpFileName2.value;
The second code does nothing. My ASSumption was that the
CSVURL data was loaded to the active sheet. What am I
missing?