For example, with Data Validation cells in column D:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Target.Column = 4 Then
Target.Columns.ColumnWidth = 20
Else
Columns(4).ColumnWidth = 5
End If
End Sub
To add this code to the worksheet:
Right-click on the sheet tab, and choose View Code.
Copy the code, and paste it onto the code module.
Change the column reference from 4 to match your worksheet
On , Mahreen Ellahi <mahreen.acc...@gmail.com> wrote:
Any code?????
On Thu, Nov 10, 2011 at 3:55 PM, waheedb...@gmail.com> wrote:
Well u can use the code mentioned in the link to make it zoom a bit
On , Mahreen Ellahi mahreen.acc...@gmail.com> wrote:
> Thanks :-(
>
>
>
> On Thu, Nov 10, 2011 at 3:43 PM, waheedb...@gmail.com> wrote:
>
>
> Hi,
> Its fixed size you cant change it.
> Plz refer the below link
> http://www.contextures.com/xldataval08.html
>
>
>
>
>
>
>
> On , Mahreen Ellahi mahreen.acc...@gmail.com> wrote:
> > I ve already gone through this link, thanks. But i dont ve a combo
box, i ve used data validation.
>
>
> >
> >
> >
> > On Thu, Nov 10, 2011 at 3:27 PM, waheedb...@gmail.com> wrote:
> >
> >
> > Hi,
> > Please refer the link
>
>
> > http://www.contextures.com/xlDataVal10.html
> >
> >
> >
> > Regards,
> > waheed
> >
> >
> >
> >
>
>
> > On , Mahreen Ellahi mahreen.acc...@gmail.com> wrote:
> > > Can anybody tell me how to increase font size in drop down menu
like when a user selects the menu, the options are too small and not
visible.
>
>
> >
> >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > regards
> > >
> > >
> > > Mahreen
> > >
> > >
>
>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> >
> >
> > >
> > >
> > > FORUM RULES (934+ members already BANNED for violation)
>
>
> > >
> > >
> > >
> > >
> > >
> > > 1) Use concise, accurate thread titles. Poor thread titles, like
Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
Advice will not get quick attention or may not be answered.
>
>
> >
> >
> > >
> > >
> > >
> > >
> > >
> > > 2) Don't post a question in the thread of another member.
> > >
> > >
> > >
> > >
>
>
> > >
> > > 3) Don't post questions regarding breaking or bypassing any
security measure.
> >
> >
> > >
> > >
> > >
> > >
> > >
> > > 4) Acknowledge the responses you receive, good or bad.
>
>
> > >
> > >
> > >
> > >
> > >
> > > 5) Cross-promotion of, or links to, forums competitive to this
forum in signatures are prohibited.
> >
> >
> > >
> > >
>
>
> > >
> > >
> > >
> > > NOTE : Don't ever post personal or confidential data in a workbook.
Forum owners and members are not responsible for any loss.
> > >
> > >
> > >
>
>
> > >
> >
> >
> > >
> > >
------------------------------------------------------------------------------------------------------
> > >
> > >
> > > To post to this group, send email to excel-macros@googlegroups.com
>
>
> >
> >
> > >
> > >
> > >
> >
> >
> > --
> > FORUM RULES (934+ members already BANNED for violation)
> >
> > 1) Use concise, accurate thread titles. Poor thread titles, like
Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
Advice will not get quick attention or may not be answered.
>
>
> >
> >
> >
> > 2) Don't post a question in the thread of another member.
> >
> > 3) Don't post questions regarding breaking or bypassing any security
measure.
> >
> > 4) Acknowledge the responses you receive, good or bad.
>
>
> >
> >
> >
> > 5) Cross-promotion of, or links to, forums competitive to this forum
in signatures are prohibited.
> >
> > NOTE : Don't ever post personal or confidential data in a workbook.
Forum owners and members are not responsible for any loss.
>
>
> >
> >
> >
> >
------------------------------------------------------------------------------------------------------
> > To post to this group, send email to excel-macros@googlegroups.com
>
>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> >
> > FORUM RULES (934+ members already BANNED for violation)
>
>
> >
> >
> >
> >
> >
> > 1) Use concise, accurate thread titles. Poor thread titles, like
Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
Advice will not get quick attention or may not be answered.
>
>
> >
> >
> >
> >
> >
> > 2) Don't post a question in the thread of another member.
> >
> >
> >
> >
> >
> > 3) Don't post questions regarding breaking or bypassing any security
measure.
>
>
> >
> >
> >
> >
> >
> > 4) Acknowledge the responses you receive, good or bad.
> >
> >
> >
> >
> >
> > 5) Cross-promotion of, or links to, forums competitive to this forum
in signatures are prohibited.
>
>
> >
> >
> >
> >
> >
> > NOTE : Don't ever post personal or confidential data in a workbook.
Forum owners and members are not responsible for any loss.
> >
> >
> >
> >
>
>
> >
> >
------------------------------------------------------------------------------------------------------
> >
> >
> > To post to this group, send email to excel-macros@googlegroups.com
>
>
> >
> >
> >
>
>
> --
> FORUM RULES (934+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
will not get quick attention or may not be answered.
>
>
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
>
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook.
Forum owners and members are not responsible for any loss.
>
>
>
>
------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
>
>
> FORUM RULES (934+ members already BANNED for violation)
>
>
>
>
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
will not get quick attention or may not be answered.
>
>
>
>
>
> 2) Don't post a question in the thread of another member.
>
>
>
>
>
> 3) Don't post questions regarding breaking or bypassing any security
measure.
>
>
>
>
>
> 4) Acknowledge the responses you receive, good or bad.
>
>
>
>
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited.
>
>
>
>
>
> NOTE : Don't ever post personal or confidential data in a workbook.
Forum owners and members are not responsible for any loss.
>
>
>
>
>
>
------------------------------------------------------------------------------------------------------
>
>
> To post to this group, send email to excel-macros@googlegroups.com
>
>
>
--
FORUM RULES (934+ members already BANNED for violation)
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
will not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
4) Acknowledge the responses you receive, good or bad.
5) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited.
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com
--
FORUM RULES (934+ members already BANNED for violation)
1) Use concise, accurate thread titles. Poor thread titles, like Please
Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
will not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security
measure.
--
FORUM RULES (934+ members already BANNED for violation)
1) Use concise, accurate thread titles. Poor thread titles, like Please Help,
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited.
NOTE : Don't ever post personal or confidential data in a workbook. Forum
owners and members are not responsible for any loss.
------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com