Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Worksheet change event - Spinner button

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target = Cells(1, 1) Then Filternonblank
End Sub

The above macro does not work when changing cell A1 value with a spinner
button
Can anybody help pls

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Worksheet change event - Spinner button

Can you not put the code in your spin up and spin down commands?
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"transferxxx" wrote:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target = Cells(1, 1) Then Filternonblank
End Sub

The above macro does not work when changing cell A1 value with a spinner
button
Can anybody help pls

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Worksheet change event - Spinner button

Why not just use code associated with the spinner?

transferxxx wrote:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target = Cells(1, 1) Then Filternonblank
End Sub

The above macro does not work when changing cell A1 value with a spinner
button
Can anybody help pls


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Worksheet change event - Spinner button

how can this be done pls

"Dave Peterson" wrote:

Why not just use code associated with the spinner?

transferxxx wrote:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target = Cells(1, 1) Then Filternonblank
End Sub

The above macro does not work when changing cell A1 value with a spinner
button
Can anybody help pls


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Worksheet change event - Spinner button

Pls show me how as i'm using a standard spinning button


"John Bundy" wrote:

Can you not put the code in your spin up and spin down commands?
--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"transferxxx" wrote:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target = Cells(1, 1) Then Filternonblank
End Sub

The above macro does not work when changing cell A1 value with a spinner
button
Can anybody help pls



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Worksheet change event - Spinner button

Did you use the spinner from the control toolbox toolbar or the spinner from the
Forms toolbar?

The code is different.



transferxxx wrote:

how can this be done pls

"Dave Peterson" wrote:

Why not just use code associated with the spinner?

transferxxx wrote:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target = Cells(1, 1) Then Filternonblank
End Sub

The above macro does not work when changing cell A1 value with a spinner
button
Can anybody help pls


--

Dave Peterson


--

Dave Peterson
Reply
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
Cell value change to trigger macro (worksheet change event?) Neil Goldwasser Excel Programming 4 January 10th 06 01:55 PM
Spinner Button - Incremental Change Anauna Excel Discussion (Misc queries) 1 July 6th 05 07:17 PM
Spinner Button Reset Anauna Excel Discussion (Misc queries) 6 June 30th 05 01:57 PM
Change Cell from Validated List Not Firing Worksheet Change Event [email protected] Excel Programming 3 October 4th 04 03:00 AM


All times are GMT +1. The time now is 05:39 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"