Get IP Address

 

The Get IP Address command finds the IP (Internet Protocol) address of the computer running the macro and saves this address to a variable. This command may also help in determining if an online connection is active or not.

 

 

Script Editor > Expand Internet Category > Get IP Address

 

 

IP Address

An IP address is an identifier for a computer on a TCP/IP network. Networks using the TCP/IP protocol route messages based on the IP address of the destination. The format of an IP address is a 32-bit numeric address written as four numbers separated by periods. Each number can be from zero to 255. An example IP address is 192.14.122.216.

 

Within an isolated network, IP addresses can be assigned at random as long as each one is unique. However, connecting a private network to the Internet requires using registered IP addresses (called Internet addresses) to avoid duplicates.

 

The Get IP Address command identifies the IP address of the network card on the computer - the IP address of the computer within a private network. Or if connecting to the Internet, this command identifies the IP address used to connect to the Internet. For a dial up connection, this IP address is assigned by the Internet Service Provider. It may change each time the computer is connected to the Internet.

 

 

Store IP Address In

The IP address is stored to the selected variable.