New topic: 

MultiThread Excel

<http://forums.realsoftware.com/viewtopic.php?t=46079>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        jopevazquez          Post subject: MultiThread ExcelPosted: Thu 
Nov 29, 2012 9:07 am                         
Joined: Thu Nov 29, 2012 8:59 am
Posts: 1                Dear all,

Im testing realbasic but I have a problem with Excel (Under windows)

I want to use a thread to create as many excel files as user selects on a 
datagrid.

Problem begins when I create an excel apllication under multiple threads, 
because when one finish, it closes the excel app. Problem exist too when 
multiple threads are writing, or saving or wathever at same time.

How it's possible to send each process to a diferent instance of Excel to solve 
those problems.

Im doing someting like

  Dim excel As New ExcelApplication
  
  Dim book As ExcelWorkbook
  Dim sheet As ExcelWorksheet
  book = excel.Workbooks.Add


And writing on cells with Excel.cells

Any suggestion   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to