Excel VBA make a script asynchronous

后端 未结 3 1659
忘了有多久
忘了有多久 2021-01-18 06:05

I have a script that can ping a list of computers and change their background color depending after the result it gets.

My problem is, that it blocks the entire exce

3条回答
  •  北海茫月
    2021-01-18 06:41

    Excel can calculate "asynchronously". Call sPing as a function.

    I'm not sure why your range is A1:N50. I assume one of the columns is the IP address, which I will assume as A. So your formula in column M will look like =sPing(A1).

    As for the color coding, you can use conditional formatting.

提交回复
热议问题