Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General 2 / May 2004



Tip: Looking for answers? Try searching our database.

How to put the value form cell into the msgbox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jacek - 28 May 2004 14:50 GMT
Hi everybody,
I would like to create the msgbox, which shows the value of one selected
cell. If smb would hlep me I will be grateful. I don't know how to make the
link to the cell.
best regards,
Jacek
Jacek - 28 May 2004 14:52 GMT
sorry for my english
jacek

> Hi everybody,
> I would like to create the msgbox, which shows the value of one selected
> cell. If smb would hlep me I will be grateful. I don't know how to make the
> link to the cell.
> best regards,
> Jacek
Hans Eekels - 28 May 2004 15:28 GMT
We like to know a littlebit more:
Is it a cell in Excel, or in a FlexGrid or in a ListView (rapport-mode), or
... ?

Signature

Hans Eekels (The Netherlands)
"You need at least two colours to see one thing"

www.SpecialSoftware.nl

> Hi everybody,
> I would like to create the msgbox, which shows the value of one selected
> cell. If smb would hlep me I will be grateful. I don't know how to make the
> link to the cell.
> best regards,
> Jacek
Jacek - 28 May 2004 15:48 GMT
in Excel
thanks,
jacek
> We like to know a littlebit more:
> Is it a cell in Excel, or in a FlexGrid or in a ListView (rapport-mode), or
[quoted text clipped - 7 lines]
> > best regards,
> > Jacek
Hans Eekels - 28 May 2004 19:02 GMT
Well, some remarks:
1.    Better look in a NG for Microsoft Office or Excel; this is Visual
Basic and not VBA
2.    The "added value" of what you want is not big, because to click in a
cell, you have to see the cell (and so you see the value of the cell); the
msgbox give you the same, but perhaps this is your start of a verry complex
application :). Second: you can't put directly any value in a cell by
clicking the cell to start your input; the msgbox will apear first.
3.    Try this: go in Excel to the menu View (I suppose that's the name: 3th
menu), then TaskManager (or someting like that) and check Visual Basic.
   Go to VB-editor and put this code in the Worksheet:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
   MsgBox Target.Value, vbOKOnly
End Sub

Signature

Hans Eekels (The Netherlands)
"You need at least two colours to see one thing"

www.SpecialSoftware.nl

> in Excel
> thanks,
[quoted text clipped - 11 lines]
> > > best regards,
> > > Jacek
Jacek - 30 May 2004 21:24 GMT
thanks a lot.
Jacek

> Well, some remarks:
> 1.    Better look in a NG for Microsoft Office or Excel; this is Visual
[quoted text clipped - 41 lines]
> > > > best regards,
> > > > Jacek
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.