ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to (https://www.excelbanter.com/excel-programming/284256-how.html)

konrad

how to
 
VBScript - how to create script reading from excel ?


Chip Pearson

how to
 
Konrad,

Can you be a bit more specific in your question?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"konrad" wrote in message
...
VBScript - how to create script reading from excel ?




konrad

how to
 
something like

var ExcelSheet;
ExcelSheet = new _
ActiveXObject "Excel.Sheet","C:\\test.xls");

LABEL1.innerText = ExcelSheet.Sheets(1).cells(1,1).value

ExcelSheet.Application.Quit
ExcelSheet = ""

Questions
I just started using vbs formelly I used to use vba
I dont know where I have to put declaration of var.

this is tthe poin I'm stock.


the rest code might work on click of object or document
load (but I can do this.)
Right now declaration in for egz. click



-----Original Message-----
Konrad,

Can you be a bit more specific in your question?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"konrad" wrote in

message
...
VBScript - how to create script reading from excel ?



.


Tom Ogilvy

how to
 
vbscript (vbs) doesn't support variable types. All variables are variant I
believe.

--
Regards,
Tom Ogilvy

"konrad" wrote in message
...
something like

var ExcelSheet;
ExcelSheet = new _
ActiveXObject "Excel.Sheet","C:\\test.xls");

LABEL1.innerText = ExcelSheet.Sheets(1).cells(1,1).value

ExcelSheet.Application.Quit
ExcelSheet = ""

Questions
I just started using vbs formelly I used to use vba
I dont know where I have to put declaration of var.

this is tthe poin I'm stock.


the rest code might work on click of object or document
load (but I can do this.)
Right now declaration in for egz. click



-----Original Message-----
Konrad,

Can you be a bit more specific in your question?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"konrad" wrote in

message
...
VBScript - how to create script reading from excel ?



.





All times are GMT +1. The time now is 10:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com