SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 2007
    Posts
    79
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    how to see all sheets data in runtime datatatable

    Hi,
    I have four sheets in an excel, once I executed the below code i got only first two sheets data in runtime datatable as Global and action1 only available but i want to see all four sheets data.Can anyone help me?

    datatable.import("---")

  2. #2
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: how to see all sheets data in runtime datatat

    It won't import all sheet because of the # of actions in the test. So if you have 1 action then it will import 2 sheets only ( 1 for Global and 1 for Action Local)

  3. #3
    Member
    Join Date
    Sep 2007
    Posts
    79
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to see all sheets data in runtime datatat

    Thanjks for ur reply and the queries posted are different one is solved with this but the other thing is I want to know the no of sheets in an excel.Pls give me the solution.

  4. #4
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: how to see all sheets data in runtime datatat

    Set xlsApp = CreateObject("Excel.Application")
    Set xlsWorkbook = xlsApp.Workbooks.Open ("C:\Test.xls")
    Msgbox xlsWorkbook.WorkSheets.count

  5. #5
    Member
    Join Date
    Sep 2007
    Posts
    79
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to see all sheets data in runtime datatat

    Fine thanx a lot Tarun

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.00%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:24 AM.

Copyright BetaSoft Inc.