G
Guest
I have a spread sheet of Ip addresses and I'd like to be able to click the cell with an Ip in it and have telnet fire off with that cells data (Ip address). Can it be done
Thanks
Thanks
cell with an Ip in it and have telnet fire off with that cells data (IpCmark said:I have a spread sheet of Ip addresses and I'd like to be able to click the
It's time to switch to Access for you, I think.
Harlan Grove said:...
Why? It's not obvious why Access, also neither primarily a scripting language
nor a network admin application, would be any better suited than Excel for such
an application.
...Textbox's OnClick/OnDoubbleClick event is reason enough
Of-course you can do all this, or at least something equivalent, in Excel
too, but not so easily.
Harlan Grove said:...
..
..
Not all Excel users have Access.
What would this look like in Access that makes you believe it'd be lots easier
to do in Access using Access's Textbox's OnClick event? I may be naive, but
wouldn't there be a necessary intermediate step of loading IP addresses into
Textbox controls?
validIn Excel, if the IP addresses are already in cells, all it takes is using a
SelectionChange event handler that checks whether Target's contents are a
IP address, then calling an API function to detect whether TELNET is already
running, and if so switch to it else launch it, then use sendkeys to create the
connection. It's hard to see how the guts of this would be much (any?) different
in an Access OnClick event handler, but perhaps you could provide details.
Arvi Laanemets said:I didn't find single Excel in catalogues here at moment, but I remember I
did see it in one a couple of years ago - it did cost almost as much as
whole Office. So by us (I'm leaving out those practicing piracy) or you have
both excel and access (of course maybe you didn't install the whole package,
but you can always add new components), or you are freeware fan and have
p.e. OpenOffice. I'm sure anyone can order a single Excel here too, but
probably they have to ship it from somewhere abroad.
I would import the Excel table into Access at start. And then create a form
based on it - you have an option to select between 4 layouts, but isually
it'll be or Columnar (data from one row are displayed at once) or Tabular
(it looks much like excel worksheet, but you are limited to fields present
in table). You haven't to worry about basic navigating, or adding/deleting
rows, or refreshing data when editing - it's cared of, at least so long you
keep things simple. You create a form, maybe you edit it to place or format
controls in a way you like or add some combo boxes to find a particular
record and navigate to it (I'm sure 15-30 min is enough for all t´his), and
then you can concentrate on what will happen when something is done (p.e.
when you click onto control with link)
....OK. I did forget about this event. But I don't like it anyway. There are
maybe 10-100 cells, clicking on which the procedure has to be called, but
this bloody event is firing off for every 65536*256 cells, and I have always
to make a check. And it doesn't differ, have I tabbed in, or clicked on it,
or made a doubble-click. It feels for me somewhat sloppy. In Access, I'll
use the event for single control.
Don't misconceive me - I don't think Excel is bad. For some tasks it is much
better than Access. And vice versa ) But everyone has his own taste, and
absolute truth doesn't exist anyway.