422,172 Members | 2,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 422,172 IT Pros & Developers. It's quick & easy.

Required: Detect vertical scrollbar code

P: 4
Hi all

Using MS Access 2000, Win XP

I require a quick and dirty (or all-singing and dancing) way of detecting whether a vertical scrollbar is visible on a sub-form.

apologies if posted in wrong forum - didn't see a VBA section

Jul 15 '06 #1
Share this Question
Share on Google+
1 Reply

P: 92
Dim Ctl as Control

for each ctl in formname.Controls
if typeof Ctl is VScrollbar then
if Ctl.Visible=true then
'ur Statement or Code
Jul 31 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.