Removing Scrollbar

E

Eric

Hi Everyone


I need to remove the horizontal Scollbar on a Listbox
in a VBA program with Access 2003.

I tried to use the ShowScrollbar API but VBA
say that this procedure do not exist in USER32.DLL ...

What can I do ?

Regards

Eric Beaumard
 
G

Gary''s Student

At the application level:

ActiveWindow.DisplayHorizontalScrollBar = False
should work. Perhaps something similar for the ListBox?
 
Top