Re: $$Excel-Macros$$ Binary Combinations Using VBA

2011-07-13 Thread Financeguy
m: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] > > On Behalf Of Financeguy > Sent: Wednesday, July 13, 2011 2:09 AM > To: MS EXCEL AND VBA MACROS > Subject: Re: $$Excel-Macros$$ Binary Combinations Using VBA > > Hi, > > This works really

RE: $$Excel-Macros$$ Binary Combinations Using VBA

2011-07-13 Thread Rajan_Verma
Message- From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Financeguy Sent: Wednesday, July 13, 2011 2:09 AM To: MS EXCEL AND VBA MACROS Subject: Re: $$Excel-Macros$$ Binary Combinations Using VBA Hi, This works really well, except it shows an error a

Re: $$Excel-Macros$$ Binary Combinations Using VBA

2011-07-12 Thread Financeguy
Range("C1").Value > > > Dim st As String > > > For i = Combination To 1 Step -1 > > > st = WorksheetFunction.Rept(Zero, Combination) > > >     st = WorksheetFunction.Substitute(st, Zero, One, i) > > >     Range("H" & Combination - i

RE: $$Excel-Macros$$ Binary Combinations Using VBA

2011-07-11 Thread Rajan_Verma
l-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Financeguy Sent: Monday, July 11, 2011 1:28 AM To: MS EXCEL AND VBA MACROS Subject: Re: $$Excel-Macros$$ Binary Combinations Using VBA Thanks, Rajan - we're getting closer, I can almost see it ..i wanted an output t

Re: $$Excel-Macros$$ Binary Combinations Using VBA

2011-07-10 Thread Financeguy
etFunction.Substitute(st, Zero, One, i) > >     Range("H" & Combination - i + 1).Value = "'" & st > > Next > > End Sub > > From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] > On Behalf Of Financeguy > Sent: Su

RE: $$Excel-Macros$$ Binary Combinations Using VBA

2011-07-10 Thread Rajan_Verma
Financeguy Sent: Sunday, July 10, 2011 9:28 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Binary Combinations Using VBA Hi All, I'm trying to generate a list of binary combinations as follows: cell A1: 0 cell A2: 1 cell A3: 7 I'm requesting help to create

Re: $$Excel-Macros$$ Binary Combinations Using VBA

2011-07-10 Thread Financeguy
Unfortunately, Im not sure how this works with what Im trying to achieve. Appreciate your help. Anyone else know how to develop a macro that accomplishes generating binary numbers based on the possible combinations, please help. Thanks, Financeguy On Jul 10, 1:06 am, ashish koul wrote: > try

Re: $$Excel-Macros$$ Binary Combinations Using VBA

2011-07-09 Thread ashish koul
try this http://www.visualbasic.happycodings.com/Applications-VBA/code4.html On Sun, Jul 10, 2011 at 9:28 AM, Financeguy wrote: > Hi All, > > I'm trying to generate a list of binary combinations as follows: > > cell A1: 0 > cell A2: 1 > > cell A3: 7 > > > I'm requesting help to create the follo

$$Excel-Macros$$ Binary Combinations Using VBA

2011-07-09 Thread Financeguy
Hi All, I'm trying to generate a list of binary combinations as follows: cell A1: 0 cell A2: 1 cell A3: 7 I'm requesting help to create the following output in separate columns using VBA: 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 and so on.. for a total of 2 ^ 7 times in columns A throu