Solved

Excel Function that will execute a VNC connection

Posted on 2006-06-09
4
790 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If your app took Google’s lash recently, here are the 5 most likely reasons.
This article was originally published on Monitis Blog, you can check it here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sourc…
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

617 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