Microsoft
Software
Hardware
Network
Question : Trying to optimize my VBA Code - help with syntax
Hi - I'm trying to use the same code but referencing different listview boxes. I thought I could get away with:
IF A = "XXXX" then
with lv1
else
with lv2
end if
That didn't work...So I thought I would assign it box = "XXXX" then use box.columnheaders... and that didn't work.
Is there a way I can accomplish this?
Thanks - Zack
Answer : Trying to optimize my VBA Code - help with syntax
You could make a ContextMenu appear in response to a ListBox item click:
http://msdn.microsoft.com/
en-us/libr
ary/
system
.windows.f
orms.conte
xtmenu(VS.
71).aspx
Use the Show() method:
http://msdn.microsoft.com/
en-us/libr
ary/
system
.windows.f
orms.conte
xtmenu.sho
w(VS.71).a
spx
Random Solutions
Windows Server 2008 R2 iSCSI Initiator and HP D2D CHAP issue
Multiple Children Relationships to One Parent Table
prstat vs top command
Google Maps , ahhhh help pls!
What is the next number of this number sequence? - General Math Question
Is there a better docmd.sendobject method to send query results?
Blackberry browser 400 error - socketexception Connection reset
IE sometimes fails to connect, gets worse with time since reboot
redirecting content from client to server
How To Check Packets for Urls