Solved

Excel Function that will execute a VNC connection

Posted on 2006-06-09
4
660 Views
Last Modified: 2008-03-06
Hi Yall!
This is exactly what the title indicates. I want to add a function that will VNC to a users IP address. I have a completed spread sheet in Excel that stores PC data on our network. I do not want to go outside the program to VNC into the unit.
Can I do that? I want to right click on the IP address and vnc to it.
This is the location of my VNC program.

%ProgramFiles%\realVNC\vncviewer.exe $A$

It's been so long since I did anything like this I would certainly appreciate any help.
Thanks
hej613
0
Comment
Question by:hej613
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Nick Denny
ID: 16874292
Open a VNC instance to the IP you want.
"Save connection as" whatever you want.
Hyperlink to this in excel.

0
 
LVL 3

Accepted Solution

by:
papimichel earned 500 total points
ID: 16876717

open excel , press Alt+F11
Paste this code:

Public Sub mmm()
    Shell "C:\Program Files\RealVNC\VNC4\vncviewer.exe " & ActiveCell.Value
End Sub

'Change the path to your VNC path.
then close the Microsoft visual basic window and press Alt+F8.

locate the line mmm and press the Options button. Now assign a shortcut key for this macro to run (for example Ctrl+V).

now when you click with your mouse oer the one of the ip's and press Ctrl+V it'll automatically run the VNC Viewer with the ip parameter we passsed it.

hope it'll all go fine..
yours, Michel
0
 
LVL 1

Author Comment

by:hej613
ID: 16879206
Seriousnick, I thought of that but it would it work if I changed the data in the field?

Papimichel, I will try that as soon as I get back to work. Sounds good I will let you both know which one works.

Thanks again, I have learned so much from all of you at EE.
hej613
0
 
LVL 13

Expert Comment

by:Nick Denny
ID: 16879249
So long as the hyperlink points to the VNC shortcut, you can put whatever data you like in the cell.
If you change the data the hyperlink should remain there.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
remove chinese softwares 22 110
Scripting vs. Programming languages 25 152
How to open a .vcf file 11 54
Transferring files to iPhone 3 40
I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now