Results 1 to 6 of 6

Thread: excel & visual basic 6

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    2

    Question

    I have excel worksheet contain 3000 rows, and i have to check all cells by use "if then",
    if i use excel macro --> no problem.
    if i use visual basic --> after 1500 rows, computer stuck and i must Ctrl+Alt+Del,

    ???

    Thanx, Miki

  2. #2
    Addicted Member
    Join Date
    Sep 2000
    Posts
    230
    An excel macro is VBA (unless you are using an older version of excel), which is VB, just a different environment. If the macro works, examine the macro or simply use the macro code, since it is VBA(VB). Are you trying to make a stand-alone VB program that uses Excel? If you are stuck, let me know and I will help you out.
    Shawn Hull
    VB6, SP3 (Professional Edition)

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    2

    excel & VB6

    Thank you,
    but,
    if worksheet contain 1400 rows, VB6 run ok.
    it`s stuck only if worksheet over 1400-1500 rows,
    therefor, i`m sure that my program normal and i don`t know why this problem.

  4. #4
    Lively Member
    Join Date
    Sep 2000
    Location
    Singapore
    Posts
    78
    Can you post the code so we can help you?

  5. #5
    Guest
    Yep any macro produced in the Microsoft Office Suite is produced in VBA (Visual Basic for Applications). An excellent tool. Really helped me complete some complex Excel spreadsheets (Lookup tables etc).

  6. #6
    Addicted Member
    Join Date
    Sep 2000
    Posts
    230
    Any chance you are using Arrays? Post your code so we can look at it. Can't help if we don't see it.

    Shawn Hull
    VB6, SP3 (Professional Edition)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width