Consulting

Results 1 to 2 of 2

Thread: VBA error

  1. #1

    VBA error

    Hi all,

    I am facing an issue while writing my VBA code

    So, I am asking my VBA code to pull out data from a SQL run (refresh existing data every time data is pulled) and then do operations on that (like sort, include more columns using vlookup and so on)

    However, pulling data from SQL is taking time and in the meanwhile other operations like sorting are getting completed. Because of this, I am looking at wrong results

    Is there a way to ensure the other operations run only post data pulling is over

    Thanks

  2. #2
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    We're going to have to see the code you're using.

    Open VBA, Copy a Procedure.
    In the VBAExpress Message Editor, press the # Icon on the menu, then Press Ctrl+V.
    Repeat for each Sub and Function.

    The # icon inserts CODE Tags with the Cursor between them.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

Posting Permissions

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