Creating N-tuples Of 1's And 0's

Nov 18, 2006

Is there an easy way in Excel to generate all of the 512 possible combinations of 1 and 0 in a 9-tuple (9 consecutive numbers with each number either being 1 or 0)?

For example:
1, 0, 1, 0, 1, 1, 1, 0, 0
1, 1, 1, 0, 1, 1, 1, 0, 0
etc.

View 9 Replies


ADVERTISEMENT

Creating A Range After Creating A Different One

Dec 22, 2008

I am trying to build a selection for a procedure to use.

View 2 Replies View Related

Creating Add-ins

Nov 12, 2008

I need some help about creating add-ins to distribute my macro.

I have written a macro and have saved it as an .xla file.

What i want is that when this add-in is installed an extra button appear on the menu bar and when users click the button the macro should run.

I tried to install the add-ins but am having some trouble in creating a button automatically when add-in is installed and assigning a macro to it?

I tried to look through some books and on some internet websites but really cant figure out.

View 9 Replies View Related

Creating PDF Of More Than One Sheet?

Mar 28, 2014

I have an issue creating a PDF of more than one sheet. Only top left corner of sheets are shown in PDF. Creating a PDF of a single sheet works perfectly. I have attached the result (2 pdf-files) and the original Excelfile.

Code for one sheets (Result OK):

[Code] ......

Code for multi sheets (Result not OK):

[Code] .........

Attached Files

CreatePDF.xlsm‎
MyPDF_OneSheet.pdf‎
MyPDF_3Sheets.pdf

View 2 Replies View Related

Creating A PivotTable Using VBA

Apr 30, 2014

I am unsure if this is supposed to be in the PivotTable or VB section, but given it is VB code I expect here is better.

[Code] ......

I can confirm the SourceData exists, and can be used to create a pivot table without error. Only when I try to RUN this code does it kick out saying, "Invalid procedure call or argument".

View 3 Replies View Related

Creating New Tab And Then Renaming It?

Mar 5, 2014

I am tying to build a macro that contains a function to open a closed workbook, create a new tab, select the tab and then paste data into it before closing the workbook.

In a separate macro I will then want to open the workbook again and compare the last two tabs worth of data, to highlight where old data has been removed.

View 1 Replies View Related

Creating Search Bar Using VBA

Mar 26, 2014

I'd like to create a search bar where someone types text into a field in Sheet1 (in the sample B1), then clicks a macro button to search for that word in Sheet2.

The result should be that the cell containing that word is where you end up.

The search word shouldn't be an exact match for the result, the cell just needs to contain it.

The search bar should also be present on Sheet2, with an additional button for Find Next, so that the user can move to the next result if the first one is not what they're looking for.

I've managed to create a search function with a pop up box using the below but this isnt as effective.

[Code] .....

Sample.xlsx‎

View 2 Replies View Related

Creating Sub Menu's

Oct 18, 2008

I am using the following code to build and remove a menu on the menu bar. how to modify this to create sub menu's instead of a single drop down list

View 2 Replies View Related

Creating New Tab Syntax

Nov 25, 2008

if I copy and Add it created a new workbook not the current on im in. What am I doing wrong?

View 5 Replies View Related

Creating Tab Rows

Dec 9, 2008

I have worksheets with many Tabs, I wanted to know if it was possible to create Rows of Tabs? I have included a picture of what I am talking about.

View 3 Replies View Related

Creating Buttons Using VBA

Dec 16, 2008

I'm trying to make a macro that creates a button (to run another macro). I'm also trying to make sure this has a specific name, instead of just "Button#". The code I get from recording this is:

View 5 Replies View Related

Creating A Userform With VBA

Feb 5, 2009

On a worksheet i have a list of names in Column A the list length can vary this is why i want to create a userform using VBA. The form just wants a checkbox with name next to it for each name in column A. If the checkbox is ticked I want a 'Y' in Column B next to the corresponding name.

View 4 Replies View Related

Creating A VBA Chart

Jul 8, 2009

I have wriiten some simple code to create a chart which works fine. I have a problem applying formatting to my chart. I am using the With construct to apply the formatting, but the problem is that the chart name keeps on incrementing from "Chart 1" to Chart 23" etc. each time I run the chart and I get an error message before the With code?

View 2 Replies View Related

Creating Two Menus

Oct 11, 2009

I have a workbook which uses the code below to create a new menu upon opening. I have now used this same code in a second workbook to create a different menu. both work OK on their own However if by chance both workbooks are opened at the same time only one menu is shown. Is there a way I can change one of these to create a second menu if the first one is already there?

View 4 Replies View Related

Creating An If Then Macro

Feb 3, 2010

I am creating a macro that when cell range H7:H78 = x then the cell in the same row but column A changes to r. This is what I have so far.

View 4 Replies View Related

.0 Is Creating #VALUE! Error

Apr 7, 2006

I am currently using the following formula:

=(H21*60)-IF(MID(H21,FIND(".",H21,1),5)>0,(MID(H21,FIND(".",H21,1),5)*60),"")+(MID(H21,FIND(".",H21,1),5))

However, I get the results of #VALUE!

In cell H21, the value is 27.00

How do I force excel to recognize the .00 in the formula?

View 11 Replies View Related

Creating A List..

Feb 6, 2009

I thought this would be a simple task, but i cant seem to figure out how to do this.
I have a list with names and its a fixed number of rows, say A1:A200. In the next column, B1:B200, there is either TRUE or FALSE. I want a make a new list with all names with "TRUE" on the same row, without any blanks. How can I do this?

View 5 Replies View Related

Creating A Timesheet ....

Jan 1, 1970

Not sure where the best to ask this is so i'll do it here.

I have a h:mm time which i need to get converted into days/hours/minutes, creating an on the fly phrase of something like "2 days, 4 hours, 32 mins" for example.

eg: 26:45 (hours/minuts) to be converted to "1 day(s), 2 hours, 45 minutes"...

View 14 Replies View Related

Creating New Sheet With Name Same As That CC

Nov 7, 2011

I am struggling with task when i have list of cost centers (appr. 100) and for each one of them i need to create new sheet with name same as that CC.

View 1 Replies View Related

Creating 3D Bar Graph

Feb 10, 2013

I want to create a graph as showed below.

Actual graph will contain a larger/longer X-axis (40 instead of 6 readings), but no more than 2 rows af data (A and B), of which one has a seqenced number af data (row B).

Row B alo has got singular points of data superimposed over the cylinders.

I have got all the numbers ready, but I don't know whether or not it is even possible to create a graph like this.

The cylinders have values up to 45.000 (accumulated in row B), the points (black dots) go from 2 to 6.

If so, I'm having trouble selecting the correct template out of the excel's standard list of graphs.

View 9 Replies View Related

Creating Percentiles

Jun 14, 2005

I am going to be gathering some raw test results soon, and I need to create a percentile for this particular group of results. way to do this in Excel? Or at least point me in the right direction? :o

View 9 Replies View Related

Creating A Query

Mar 29, 2007

I have a table that contains data for a region broken down into North South East and West areas.

New data is added to one spreadsheet (Region).

What I would like to do is have information for the North team automatically moved (or copied via a link) to the North sheet for printing off.

View 9 Replies View Related

Creating A Chart ..

Apr 21, 2008

I have creating a chart. All the information in the source data appears to me to be ok but the chart isn't been displayed.

View 9 Replies View Related

Creating Reports

May 14, 2008

I am trying to create a report that takes two user inputs and looks them up on another worksheet in the workbook and returns the right value. As an example I have the user input a date and a job location and on another sheet there is also a date and a job location that has a population associated with it. Is there a way to return this information so that it changes whenever the user changes these two criteria

View 9 Replies View Related

Creating All Possible Combinations

Nov 24, 2008

I am trying to create a combination list. I have 48 items and I want to create all possible comibinations of 3 items from this group of 48 items.

I did something similar to create all possible combinations of 2 items from the group of 48 items in the attached spreadsheet. This was done manually and was time consumning. I want to do something similar for all possible combinations of 3 items from this group of 48 items.

All my 48 items are listed in rows 4 and 5. I want to enter the number "1" in each column to indicate my selection. Right now I have 2 ones per row. But I want to do 3 ones per row.

View 9 Replies View Related

Creating A Search Box

Dec 1, 2008

I need some help in creating a search box in excel. I have 4 rows of data, and want the user to enter a 4 digit number in a text box, which is then searched in the spreadsheet, pulling up the results.

So far I have the following code..

Sub Button1_Click()

'Opens box and ask what do they want to search
searchthis = InputBox("Type in a location keyword.", "Property Search")
'Tells where to search
Columns("A:E").Select
'and then search in them whatever the user entered:
Selection.Find(What:=searchthis, After:=ActiveCell, LookIn:= _
xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:= _
xlNext).Activate

End Sub
It only highlights the results, leaving all other data on the spreadsheet. Ideally id want to see only the results of the search. Is there anyway to do this?.

Also, if the search returns no results, I get a debugger message. I want some sort of error message to come up.

View 9 Replies View Related

Creating New Sheets And Name Itself With Vba

Feb 9, 2009

i have a named range that is one column wide and changing in lenght, rows. I want a sheet to create and name itself the same as the value in the cell for each value in the named range. if a name in the range should be removed then so should the sheet.

View 9 Replies View Related

Creating New Workbook ...

Mar 5, 2009

Is it possible to create new workbook which contains sheet1 datas only from master workbook by clicking command button,and the name of workbook will be asking by inputbox and create accordingly?

View 9 Replies View Related

Creating Charts With VBA ..

May 26, 2009

I've got a table which has additives in Column A and products on Row 1. There are 13 additives and 10 products. Each combination of product and additive has a price. So I have 130 different prices in my table. The prices change monthly and the new prices are added to the sheet so that last months prices will move to left so that the newest price data table is A1:J13 and previous month is K1:T13 and so on.

I need to make an individual chart to every combination which contains the history of the price changes. I have two cells (A20 and B20) where the user can pick a product and an additive (created a menu by using Data|Validation...). These selections are combined in a cell C20 (=A20&B20). Then I have a macro that is linked to the cell C20 and is basically Case Is = 1st combination --> Call Macro1, Case Is = 2nd combination --> Call Macro2 etc.

That macro will work out just fine, BUT is there any way I could make all the 130 charts easier? Now I've recorded a macro that creates the first chart and then I've just copy-pasted it, changed the attributes (cell numbers, names and so on) that define the data to the next charts. This will take ages...

Every combination will have at least 13 changes (12 monthly price cells and the name of the cart) so in total this will mean about 1500 manual changes. In my case this will mean a high danger of typos.

I know, it would be SO much easier if I could give you the Excel file to look at...hopefully you understood what I mean.

I'll only follow the changes within a year so prices older than a year will not be shown in the charts.

View 9 Replies View Related

Creating A Schedule

Jun 12, 2009

I am Cuttently creating a schedule in excel for work. the schedule will look like this:

Name.........................Shift
Andrew.......................6-3
Jonathon....................12-7
Kim............................9-5

etc etc

the thing is though this is simple enough but i am trying to use a bar chart to help me show how many people i will have on shift at anytime e.g ...

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved