|
-
May 27th, 2003, 06:32 AM
#1
Thread Starter
New Member
get info form another sheet using command button???
I have a command button on sheet 1, that when it is pushed I need it to pull up a "pop up" - "message" box with the info form sheet 20 .
Can this be done and how??
-
May 27th, 2003, 06:38 AM
#2
Let me in ..
Re: get info form another sheet using command button???
Originally posted by khelbert
I have a command button on sheet 1, that when it is pushed I need it to pull up a "pop up" - "message" box with the info form sheet 20 .
Can this be done and how??
What are we talking about here ? VB or Excel ?
-
May 27th, 2003, 06:43 AM
#3
Hyperactive Member
VB Code:
Dim ws as Worksheet
Dim tmp as String
tmp = ws.worksheets(20).range("a",1)
msgbox tmp
worksheets(put the number of the worksheet you want information from here).range(put the cells your want the information from here)
I did not test this, just an idea to get you on the right track,
Hope I could help,
Stephan
Keep Smiling - even if its hard 
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute.
C# - Base64 Blog
-
May 27th, 2003, 06:43 AM
#4
Thread Starter
New Member
the worksheet is Excel, but I have use VB for the buttons, check boxes and etc. I have the VB code to make the button take me to sheet 20 but I only want the info on that page to come up in a "pop up" message window - not take me to that page.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|