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
RHEL command to do an LS and have the result stop until you hit the space bar
How to Open a Console Session (xterm)
IOS that support multicast
asp.net: How to bind Images to a ListView from a Database - I have a special need! the Image have already be downloaded
CentOS 5.3: search keyword in array of logs: how?
How to configure email for authenticated users + some domains
Error Creating Web Site: Exception from HRESULT: 0x800710D8
Bulk insert a excel file
SSL Weak Cipher Suites Supported
How do i do PXE Boot using windows 2008 server and Deployment Workbench