#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default how to

VBScript - how to create script reading from excel ?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default 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 ?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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 ?



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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 ?



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"