dropdown VBA excel

Reply

Join Date: Sep 2006
Posts: 26
Reputation: vbcielle is an unknown quantity at this point 
Solved Threads: 0
vbcielle vbcielle is offline Offline
Light Poster

dropdown VBA excel

 
0
  #1
Jan 3rd, 2009
hello i am doing a program that saves cell values from sheet1 to sheet2 as my database including the value in the drop down.

my program can save the value of the dropdonw to sheet2 ...my problem is how can display return or display any values saved in sheet2 to the dropdown in sheet1 ?

is it like this?

sows.shape("drop down").oleformat.object.text=des.cell(srange & x).value

it displays/return the value but the problem is if i change the value in the dropdown it is not changing...can you help me?
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 1,085
Reputation: cguan_77 has a little shameless behaviour in the past 
Solved Threads: 89
cguan_77's Avatar
cguan_77 cguan_77 is offline Offline
Veteran Poster

Re: dropdown VBA excel

 
0
  #2
Jan 30th, 2009
Originally Posted by vbcielle View Post
hello i am doing a program that saves cell values from sheet1 to sheet2 as my database including the value in the drop down.

my program can save the value of the dropdonw to sheet2 ...my problem is how can display return or display any values saved in sheet2 to the dropdown in sheet1 ?

is it like this?

sows.shape("drop down").oleformat.object.text=des.cell(srange & x).value

it displays/return the value but the problem is if i change the value in the dropdown it is not changing...can you help me?
hi vbcielle, check the attached file and the simple macro program.. don't know if that's the one you're looking for.. but whatever dropdown list change in sheet2 is reflected in dropdownlist in sheet1..
Last edited by cguan_77; Jan 30th, 2009 at 3:36 am.
Attached Files
File Type: zip Bok1.zip (9.7 KB, 20 views)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC