LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Spinners aren't cutting it


I have a worksheet that will be used for manual data entry with tablet
PCs. However, my users are complaining about the buttons being "too
small." Since they are only tallying order quantities, what I really
need is a single button that increments the cell by +1. While this can
be done easily enough, it requires code to be written for each button.
I need to be able to make hundreds of buttons very quickly and assign
each of them to their own cell. Here is what I have written that
inserts the spinners. I need a better solution though. Help.

Sub SpinnerBuilder()
'
' SpinnerBuilder Macro
' Macro recorded 8/16/2005 by Nathan
'

With ActiveCell.Select
Col = ActiveCell.Address
Xloc = ActiveCell.Top
Yloc = ActiveCell.Left
CelHeight = ActiveCell.Height
End With
'
ActiveSheet.Spinners.Add(Yloc, Xloc, 9, CelHeight).Select
With Selection
..Min = 0
..Max = 30000
..SmallChange = 1
..LinkedCell = Col
..Display3DShading = True
..PrintObject = False
End With
With ActiveCell.Select
Selection.ClearContents
End With
ActiveCell.Offset(0, 1).Range("A1").Select
End Sub


--
Nathan77
------------------------------------------------------------------------
Nathan77's Profile: http://www.excelforum.com/member.php...o&userid=26553
View this thread: http://www.excelforum.com/showthread...hreadid=398165

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirection After Cutting dnamertz Excel Discussion (Misc queries) 4 January 12th 11 02:59 AM
Spinners and protected sheets John Galt[_2_] Excel Discussion (Misc queries) 2 November 7th 08 03:34 AM
Spinners Brad Excel Discussion (Misc queries) 7 September 13th 06 06:55 PM
Spinners - minimum and maximum Brad Excel Discussion (Misc queries) 2 September 11th 06 03:33 PM
cutting text Aaron Excel Discussion (Misc queries) 1 December 15th 05 04:13 PM


All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"