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: 3
Default VBA Code vs Public Function

I have the following example data:

Month1 / Qty 1 / Qty 2 / Qty 3 / Qty 4 / Field A
Month 2 / Qty 1 / Qty 2 / Qty 3 / Qty 4 / Field A
Month3/ Qty 1 / Qty 2 / Qty 3 / Qty 4 / Field A
Month 4 / Qty 1 / Qty 2 / Qty 3 / Qty 4 / Field A

The user can select a quarter "start month." I need to set "Field A" to a
unique variable for all months that fall in the quarter.

So, if Month 1 is the Quarter start month, Field A would read "x" for Month
1, Month 2 and month 3.

If Month 2 is the Quarter Start month, Field A would read "x" for Month 2,
Month 3 and Month 4.

I currently am using a public function, but it errors out a lot when people
have more than one excel file open at a time.

Any assistance would be greatly appreciated.

Thanks,

MTinsley
 
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
??? Public Sub code jump to Private Sub Code Jaylin Excel Programming 3 February 17th 07 11:35 AM
Using A Public Function / carl Excel Worksheet Functions 1 April 6th 06 09:13 PM
public function tom mcdonald[_4_] Excel Programming 2 October 10th 05 01:51 PM
Public Function Monty Excel Discussion (Misc queries) 9 December 24th 04 06:35 PM
VBA Code needed to start different public sub mbergman Excel Programming 0 February 5th 04 01:41 PM


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