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
Microsoft Information Store stalling issues
Data insert wizard php/mysql
return double array in Delphi call to c++
New ESXi 4 Host (not responding) in vCenter
MAcbook Pro refuses to connect via ethernet but works via wifi
Unable to receive email forwarded into Lotus Domino 8 from Exchange Server 2007
Show Date time on webpage -coldfusion,jquery
Decommissioning a xenserver / removing from xencenter pool
SBS 2008 move data feature crashes
Cant get vista to view my web site correctly!