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
Report ot few records
Internet explorer registry to prevent the startup of add-on toolbars
How do I charge for a job?
Cisco 2950 Vlan for Voice
Access Report Ribbon
Pass URL Parameter to multiple iFrames in ASP
CHARINDEX Syntax
Junk email folder on PST and OWA
SSG5 VPN Routing, internal LAN route works, VPN route doesnt.
New SBS2008 Server Running Slow due to high memory usage