Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default call macro to format form

I need to be able to update the formatting of all textboxes on a form if an
individual changes the value. Currently I have a procedure that is called
when each textbox is altered (NP1) but as I have 42 textboxes I was
wondering if there was an easier way than assigning it individually as I
have done

Private Sub NP1_AfterUpdate()
Call FormatPrices
End Sub

Private Sub NP2_AfterUpdate()
Call FormatPrices
End Sub

Private Sub NP3_AfterUpdate()
Call FormatPrices
End Sub

Private Sub NP4_AfterUpdate()
Call FormatPrices
End Sub

Any suggestions would be greatly appreaciated


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
How Can I call any form or macro.. Victor Excel Worksheet Functions 1 November 16th 05 08:42 AM
How can I call a macro or form. in the moment that enable any shee Victor Excel Worksheet Functions 1 November 16th 05 08:42 AM
Button to call a user form? Hru48[_3_] Excel Programming 3 September 1st 05 06:22 PM
how to call a form JulieD Excel Programming 5 April 13th 05 08:27 PM
Add-In...form call Ajit[_3_] Excel Programming 1 April 28th 04 03:49 PM


All times are GMT +1. The time now is 11:17 PM.

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

About Us

"It's about Microsoft Excel"