Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

connectivity

ResolvedVersion 2010

Cristian has attended:
Excel VBA Introduction course
Excel VBA Intermediate course
Excel VBA Advanced course

Connectivity

Which is running first, a dynamic query connection to another file or a macro?

RE: Connectivity

Hi Christian,

Thank you for the nice feedback and thank you for the forum question.

The dynamic query connection will execute immediately when you open the workbook the macro will wait until you enable the macro.

There is a rule about VBA vs Excel tools. The Excel tools are created in the language VB and are always faster than what we can do with VBA. Not much but for example if you want to find a text string in a worksheet using VBA, do not loop or other things. Call the Find function.

I have added a link below which show the refreshall options.

http://www.excelhowto.com/macros/refresh-all-data-connections-on-workbook-open/


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector


Excel tip:

Counting Non Number Cells (Text)

If you try to use the COUNT FUNCTION =COUNT(Cell range)with a range of cells with numbers and or containing text fields you wil find that that the text cells will be excluded from the the count. If you want to include them try the the COUNTA FUNCTION =COUNTA(Cell range). This counts both text and number cell values.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.