$$Excel-Macros$$ gauss jordan method

2010-01-11 Thread larry
I am trying to use the Gauss/Jordan method as a subrouting in my code. This is code that lets you put linear equations into a matrix and then finds the values for the variables in the equations. I am concerned that my rewrite has made the count off so I am not getting the answers I expect. Can anyb

$$Excel-Macros$$ Re: Keywords from QuickBasic to VBA

2010-07-01 Thread larry
As one who tries to convert code from old programs to new, here is my experience. If you are switching to Excel with VBA macros the inputs and outputs become different. You can now set up a spread sheet for inputing data. Since the data is visible you don't need to run a sub routine to check your i

$$Excel-Macros$$ Run time error 1004

2010-07-09 Thread larry
The following macro should activate worksheet Matrix Table then print out some text and then print out the values in the Nstep_tran array. Since I don't have a row counter, I am in the process of working out the formula for the Else case. What follows Else is a place holder. I cannot get the init

$$Excel-Macros$$ Re: Run time error 1004

2010-07-12 Thread larry
witch. Should I try select sheet? On Jul 9, 2:22 pm, larry wrote: > The following macro should activate worksheet Matrix Table then print > out some text and then print out the values in the Nstep_tran array. > Since I don't have a row counter, I am in the process of working out &g

$$Excel-Macros$$ Reverse of rounding

2010-07-20 Thread larry
I have a macro where I copy data into an array from one sheet and then post it in another sheet and there is something odd. .8 becomes , 79, .15 becomes .1501. The other way around this would be rounding. It only changes the values in the first column. Any ideas on what is going on? -- --

$$Excel-Macros$$ Re: Reverse of rounding

2010-07-21 Thread larry
tuart Redmann wrote: > On 20 Jul., 14:26, larry wrote: > > > I have a macro where I copy data into an array from one sheet and then > > post it in another sheet and there is something odd. .8 becomes , > > 79, .15 becomes .1501. The other way around this would be

$$Excel-Macros$$ Re: Reverse of rounding

2010-07-22 Thread larry
I think that explains it. Thanks. On Jul 21, 11:08 am, Stuart Redmann wrote: > On 20 Jul., larry wrote: > > > > > I have a macro where I copy data into an array from one sheet and then > > > > post it in another sheet and there is something odd. .8 becomes , > &g

$$Excel-Macros$$ Re: Excel Macros Book?

2008-09-16 Thread larry
I am working through Excel for Scientists and Engineers (Numerical methods) by E. Joseph Billo. It has several sections on the basics of VBA On Sep 15, 9:23 pm, SilvergunSuperman <[EMAIL PROTECTED]> wrote: > Would anyone be able to recommend a good book to purchase wrt to > Macros and VBA? > > T

$$Excel-Macros$$ Re: Stack error problem

2008-09-22 Thread larry
I should of posted the functions. Apparently I was causing a disconnect because the functions even though (marginally) acceptable code in VBA were giving me !value# in Excel. Once I gave up on the functions and just coded the formulas, the program ran correctly. Munson, Herb wrote: > If there is

$$Excel-Macros$$ Re: Stack error problem

2008-09-23 Thread larry
The functions were three lines- function, equation, function end. Since the equations did not use functions there was no typical recursion. However, I believe since the functions= !value# for some reason, this resulted in the stack error. AJIT NAVRE wrote: > Could you please mail the file. Need t

$$Excel-Macros$$ Re: What is array??

2008-11-12 Thread larry
If you are doing macro coding an array can be a variable that is a collection of values. It can be one or more dimensions depending on how it is set up. Check your Visual Basic reference on Dim or dimension for more info. It can also be a set of selected values in the EXCEL spread sheet. You will

$$Excel-Macros$$ run time type mismatch/other improvements

2008-12-04 Thread larry
I am trying to creat a code for caculating the number of days between two dates. N=A-N causes a type mismacth run time error. Also looking for any other improvements. Nested if may need to be cleared up. Thanks for any help. Option Explicit Public M1 As Integer, M2 As Integer, D1 As Integer, D2

$$Excel-Macros$$ Re: run time type mismatch/other improvements

2008-12-08 Thread larry
test problems. On Dec 5, 2:13 am, lohith <[EMAIL PROTECTED]> wrote: > Hi Larry, > > Try Using this formula instead. > > =DATE(B4,B3,B2)-DATE(D4,D3,D2) > > Cheers, > Lohith > > On Dec 5, 12:51 am, larry <[EMAIL PROTECTED]> wrote: > > > > > I am

$$Excel-Macros$$ Re: run time type mismatch/other improvements

2008-12-19 Thread larry
x27;t need to worry about an error I did not know about. On Dec 17, 6:19 am, "Ajay Varshney" wrote: > Why dont you use formula        =DAYS360("Start Date","End Date") > > You dont need to code anything for this. > > > > On Fri, Dec 5, 2008 at 1:21

$$Excel-Macros$$ select case error

2009-04-17 Thread larry
Any idea why the second case triggers run time error 1004, application defined or object defined error. this should be standard cell input. Thanks for the help. Select Case Crit_Value Case Crit_Value = 0 Cells(25, 1).Text = "No Order" Case Crit_Value < 0 Cells(25, 1).Text = "Error

$$Excel-Macros$$ Re: select case error

2009-04-20 Thread larry
> Regards > *Ashish **Jain* > Analyst, CSC > Microsoft Certified Application (Excel) Specialist > Excel and VBA Trainer > Author ->www.excelitems.com > +91--40-48-43 > ---­­­--

$$Excel-Macros$$ Re: i cannot write with E , for example 11E17

2009-05-12 Thread larry
Try making the cell text format. The prorgam is converting to scientific notation which is why you are getting the different values. On May 11, 1:14 pm, "2008ra...@gmail.com" <2008ra...@gmail.com> wrote: > Hi > > I have a problem with my goods's code.my goods's code is that bellow > codes and tha

$$Excel-Macros$$ Re: i cannot write with E , for example 11E17

2009-05-13 Thread larry
I am talking about the format cells command. If you select a cell or cells and right click you will see a format cell option. Select text and your problem may be solved. On May 12, 10:29 am, "2008ra...@gmail.com" <2008ra...@gmail.com> wrote: > i was try the cell text format.but that value is chan

$$Excel-Macros$$ Stop with output subroutine

2009-07-01 Thread larry
I am working on a macro where I would like the program to run the main subroutine and then run the output subroutine once and end the program. Instead, it appears to be returning to the main program and doing more calculations and coming back to the output again. Any ideas on what I am missing? I

$$Excel-Macros$$ Re: Stop with output subroutine

2009-07-02 Thread larry
- 1 For I = 1 To Num Prod = 0# For J = 1 To K_degree - 1 Prod = Prod + B(J + 1) * X(I) ^ J Next J Y_Hat = B(I) + Prod Diff = Y(I) - Y_Hat Cells(I + 1, 7).Value = Y_Hat Cells(I + 1, 8).Value = Diff Next I Application.EnableEvents = True End Sub On Jul 1, 10:59 pm, Dave Bonallack wrote: > Hi La

$$Excel-Macros$$ Re: Stop with output subroutine

2009-07-08 Thread larry
integers. Real numbers may be a bit off but at least initial numbers are close to the values I had for the original test problem. Doing a check of my results showed that I solved the related problem so I accept the results. On Jul 2, 9:46 am, larry wrote: > Thanks for the idea but it doesn't

$$Excel-Macros$$ stuck in function

2009-07-11 Thread larry
Any idea why the code gets stuck in this function? I debug using step into and it just starts looping. Public Function C_D(X As Integer, T As Integer) As Variant C_D(X, T) = Exp(-((X - T) / Sqr(10#)) ^ 2 / 2) / Sqr(20# * Application.WorksheetFunction.Pi()) End Function --~--~-~--~~-

$$Excel-Macros$$ Re: stuck in function

2009-07-13 Thread larry
t; > -Message d'origine- > > De : excel-macros@googlegroups.com [mailto:excel- > > mac...@googlegroups.com] De la part de larry > > Envoyé : vendredi 10 juillet 2009 21:22 > > À : MS EXCEL AND VBA MACROS > > Objet : [Norton AntiSpam] $$Excel-Macros$$ stuck in functi

$$Excel-Macros$$ Select case question

2009-10-29 Thread larry
Is there a problem changing the test value in the case code? Example Do Select A-B Case <0 --~--~-~--~~~---~--~~ -- Some important links for excel users: 1. Excel and VBA Tutorials(V

$$Excel-Macros$$ Select Case Question

2009-10-29 Thread larry
Is there a proble changing the test value inside the case code? Example Do Select A-B Case <0 New A Case 0 New A New B Case>0 New B End select Loop --~--~-~--~~~---~--~~ -- Some impor

$$Excel-Macros$$ Re: Select Case Question

2009-10-30 Thread larry
mand: Select Case A-B > is valid at the time it executes, > then changes made afterward do not affect > previous statements. > > (be sure you put some kind of loop counter > on you Do..Loop to make sure that it doesn't > get stuck in an infinite loop...) > > Paul >

$$Excel-Macros$$ Re: Calculating formulas programtaically

2009-11-04 Thread larry
I cannot recall thje exact format, but if you type something like application or worksheet function followed by a period and then the excel function name, it will then use the excel function On Nov 4, 7:49 am, Howie wrote: > I am developing an application which imports data from Excel. A few > c

$$Excel-Macros$$ Fixing chain of if then statements

2011-01-07 Thread larry
I have a series of if then statements that trigger different instructions, numbered by Phase. Ideally, I only need the first one that applies. If I get a second true if then stement that changes the path and the program goes off track. Is there a better way to write the following: Phase=6 If No_As

$$Excel-Macros$$ Re: Grant chart.......

2011-11-28 Thread larry
Do you mean gannt chart? On Nov 28, 1:50 am, Brajesh Kumar Porwal wrote: > Hi Expert, > > I have some activity. i want to create grant chart on this activity. > How's make it. for help see enclose file. > give me best solution. > > Regards, > Brajesh > >  Activity.xlsx > 15KViewDownload -- FORU

$$Excel-Macros$$ Re: Getting Error 9 in VBA

2012-01-18 Thread larry
Another possibility- check all your loops with counters. One of them may be exceeding the limits set up by the dimensions of the variable you are using. On Jan 17, 6:28 am, Secret Shot wrote: > Dear Group, > > I have design a VBA tool to capture data on Excel sheet. In this tool we > fill a VBA F

$$Excel-Macros$$ relaible supplier of chemichal research product world wide

2020-08-24 Thread larry rawlins
Reliable supplier of chemical research products world wide. Our shipping and delivery is 100% safe and convenient. We are ready to sell minimum quantities and large supplies of our product worldwide. our products include ; DIAZEPAM TEAMADOL ZOPLICONE OXYCODONE XANAX VIAGRA KETAMINE AND MORE..

$$Excel-Macros$$ Re: relaible supplier of chemichal research product world wide

2020-08-28 Thread larry rawlins
On Tuesday, 25 August 2020 01:55:59 UTC+1, larry rawlins wrote: > > Reliable supplier of chemical research products world > wide. Our shipping and delivery is 100% safe and convenient. We are ready > to sell minimum quantities and large supplies of our product worldwide. > our p