Taking Layer Information From Visio And Using In Excel
Feb 13, 2014
I have a drawing in visio with multiple layers, and I am trying to insert a word into an excel cell depending on which layers are active. The code I've put into the excel VBA is as follows:
[Code] .....
This is cannabalised from some code I have working from visio, looking at the value of a cell in the same excel fine, which seems to work fine.
The problem is I am getting a runtime error "Type Mismatch" from the line in red.
View 6 Replies
ADVERTISEMENT
May 9, 2014
I need to write a code to create visio flow diagram with excel inputs(Excel 2007). Attached is the requirement.
Requirement_Specification.docx
View 1 Replies
View Related
Jul 28, 2014
I have a userform that searches a data base for an address an pulls up the corresponding information. I was wondering if there was a way to get it so that if I put 1234 5th Street when it puts the information into the data base it would separate it into two cells so 1234 would be in one section and 5th street would be in another.
View 1 Replies
View Related
Jan 9, 2014
I have 2 separate workbooks that are linked together and work in tandem. One is the Master Workbook "Master Business Plan Worksheet For Sale.xlsm" and the other is the one containing all the Menu Items for the business "Menu Items Workbook.xlsm"
I have a Master Recipe Sheet that I created in the Master Workbook and made sure it all works. Now I have copied it to the Menu Items workbook and copied all the Userforms and created Macros for it but I need setting up the references to the other sheet. I have included the code from the first sheet for you to look over. The textboxes all need to populate to the Master Workbook and all the info for the combo boxes are also in the Master Workbook.
Code:
Private Sub UserForm_Initialize()
'Populate Measurement combo box.
Dim rngMeasurement As Range
Dim ws As Worksheet
Set ws = Worksheets("Start Here Sheet")
For Each rngMeasurement In ws.Range("Sizes_List")
[Code] .....
View 1 Replies
View Related
Nov 27, 2007
is it possible to create a link from Excel to MS Visio, to a specific Visio worksheet?
View 14 Replies
View Related
Jan 11, 2014
I have to fill in data in excel sheets and I am using VLOOKUP. The sheet has upto column AF and 1048500 rows. I have copied the data table (table array used for the vlookup) after column AF and the data table has about 70000 rows. One formula is to be filled in column AF and another in column AG. Filling in the formula is taking up to 3 hours for a column!! how i can improve the processing speed without breaking the file into smaller files? There are no other formulae in the sheet - i've replaced all formulae with values.
View 1 Replies
View Related
Sep 10, 2013
I've got an Excel 2007 spreadsheet that I want to use to take the attendance in the school where I teach. I've got it more or less the way I want it, but there are 2 improvements I'd like to make:
1. I don't want to have press Enter to go down to the next cell. If a kid is present, I want to press 'p' and automatically be one cell lower.
2. When I open the spreadsheet (which contains multiple worksheets for different classes), I'd like it to open at today's date on the left regardless of which worksheet I go to (I've frozen the first four columns, so I'd like 'today's column' to appear next to them). I've put the dates in row 1. I've put the dates in the format ddd, d/m/y. (I don't know if that info makes any difference, hence I'm including it). I've already looked up some posts on this and copied and pasted a few different suggestions, but none worked.
View 14 Replies
View Related
Mar 13, 2013
I have a 5K Excel 2010 workbook with VBA code that until yesterday, took about 30 sec. to run.
Today, after installation of WIndows7 Home Edition automatic updates, the running time has increased to about 4 min.
View 6 Replies
View Related
Mar 28, 2013
I've got 3 columns of formulas that end up doing what I need, but I'm thinking it could probably be done easier with VBA.
I have 1 book with a sheet I'll call Log & another book with a sheet I'll call Source. On the Log, column E has the first 9 characters of vendor names & /vendor number (ex: EDMUND FI/00250), along with other data out through column P. On Source, the vendor names are in C & a short code for their name is in A.
I need to compare the first 9 characters in Log col E with the first 9 characters in Source col C. When a match is found, I need to return the short code from Source col A. BUT - if there's a duplicate in either Source col C or A, instead I need to return the word VERIFY, preferably with the cell highlighted in red.
Right now, I have, on Source col L:
Code:
=MID(C2,1,9)
and in source M:
Code:
=IF(OR(A2=A1,A2=A3,L2=L1,L2=L3),"VERIFY",A2)
This gives me the first 9 characters of the vendor name in L & the short code OR VERIFY in M
Then, in Log col R, I have an array formula:
Code:
=VLOOKUP(MID(E4,1,9),'[PRETICKET P ADDRESSES working.xls]Paddress'!$L:$M,2,FALSE)
This gives me either the short code or VERIFY from Source M. Also, sometimes it doesn't find a match & it returns #N/A. Then I have to do Conditional Formatting to make the VERIFY cells red & I thought I'd make the error cells be yellow (although I haven't figured out the CF for that yet)
Is there a better way to do this with VBA? I'm working with Excel 2010; just got it & still figuring it out.
View 2 Replies
View Related
Mar 28, 2014
I am trying to use VBA to list out subfolders within a folder. I Googled already and find some codes.
Code:
Option ExplicitPrivate iColumn As Integer
Sub NowRun()
Dim MasterPath As String
MasterPath = Range("B1").Value
TestListFolders (MasterPath)
[Code] .....
As shown above, these codes basically would list out ALL subfolders (or sub-subfolders, sub-sub-subfolders...).
I need some modifications to the codes to achieve the followings:
1) Limit to 3 layers of subfolders only, and ignore all subfolders after Layer3:
MasterPathLayer1Layer2Layer3
2) Show the full folder path on a cell next row, no need to divide into several columns:
I sort of know what the codes are doing, but I don't know how to stop the loop as I am new to VBA.
View 2 Replies
View Related
Oct 24, 2008
hi trying to vreate a table for user to upload data. some fields have a relationship and can only select ceratin things from a list dependent on what the previous columns selection is.
Column A selects from defined list 'animal' -cat, dog, mouse
Then if they select "cat" columc c uses define list 'cats' = siamese, persion, mungrel
but if they select dog it will force use of defined list 'dogs' = poodle, labrador, mungrel...
but i then need to add a third layer to this!!!! THIS IS WHERE PROBLEMS BEGIN!
2 layer is fine for : http://www.contextures.com/xlDataVal02.html
but this will not work if for 3 layer..... example colum b, could be a dog or a cat, if mungrel is selected. if the 3rd column depends on both of these ie it matters what column a and b is before 3rd list is defined.....
plus im going to have about a hundred defined lists at this rate.. and ther will be other realtionships in the same table.... :S
i have the relaonships in the format of a list of possible combinations i.
A B C
cat siamese grey
cat siamese black
cat persian white
cat persian black
cat mungrelwhite
cat mungrel ginger
....
dog poodle black
dog poodle pink ....
dog mungrel white
dog mungrel black
There must be an easy way!!!! do i have to use Access?
View 9 Replies
View Related
Jul 16, 2013
I am creating a template with 3 layer drop down list where the selection list in second column is dependent on the first column and the third column selection list is dependent on the selection made in second column. The current template is prepared manually and are prone to errors.
The first column: Region Name
Second column: Province
Third column: Municipality
View 5 Replies
View Related
May 14, 2009
I have a file that needs 3 drop down boxes.
Box 1 = Room Style
Box 2 = Unit Number (based on Room Style)
Box 3 = Building (based on Unit Number)
I know how to get Box 1 and 2 with data validation, but I don't know how to get Box 3. Right now, my data list has Box 1 data in Row 1, and Box 2 data in the following rows, in the appropriate column.
File attached.
I don't have the Building info in there yet because I didn't know where/how to put it in. But, if you picked Manchester, 131, Box 3 needs to be B1N.
View 8 Replies
View Related
Aug 14, 2013
I'm trying to create a rental data base. The Items in question have 2 details, a Pokemon and a Gender. Each item also has a location but this changes.
So far the search formula works nicely, but there needs to be some way to know what items have been removed from their locations.
There needs to be some way to change the location on the 'database' sheet layer to "OUT" from the 'search' sheet layer.
E.g. (on the example file attached)
In a perfect world I would like to be able to search for a couple of pokemon, then to click on "pokeball GO!!!" and for this to change the location to "out" on the 'database' sheet layer.
View 1 Replies
View Related
Feb 24, 2014
I need to create three drop down lists, with the second dependent on the choices in the first and the third dependent on the choices in the second. This is proving to be quite difficult and takes a lot of processing the way I'm going about it (most likely the wrong way).
My data looks like this:
A
B
C
Macintosh Apple
Fruit
Apple
[code]......
The data is presented to me with the most narrowly defined column first, then the most general, then more defined.
What I need is the user to select (on a separate worksheet from the data) the category from column B, then the type from column C, then the specific item from column A. Each selection is dependent on the earlier selection, so that choice 1 (column B) determines the options for choice 2 (column C), which determines the options for choice 3 (Column A).
Also, I think I found that "VLOOKUP" has a problem where it is unable to match data from the first column based on data in a second or third column. For instance, in the above example, if I asked VLOOKUP to look for "Apple" and give me values in column A that contain "Apple" in column C, all I get is "#N/A".
View 6 Replies
View Related
Jul 1, 2012
Any way to pull in information from a particular website directly to excel? For example if I have the URL or the specific web page can I then locate specific pieces of information that are contained in specific areas of the webpage and pull it into excel?
View 5 Replies
View Related
Sep 14, 2012
Was wondering if it is possible to get below information from Active Directory into an Excel Sheet though VBA. All these details are within an OU in AD: UsernameDescriptionUser Logon NameFirst Name + Last NameTelephone Number I have been searching around and i think I need to connect using ADO, but not sure how to get these objects from AD.
View 1 Replies
View Related
Dec 2, 2012
There are many software solutions for clinical information systems, but they all cost a lot. It occurred to me that a bespoke system could be build using excel.
View 1 Replies
View Related
Apr 7, 2013
I was curious if Excel was able to pull information off websites and automatically populate a table such as items from Safeway and a price then another column for Walmart with same item and price? I am betting not on its own but I figured this was the best place to ask since I am trying to find an easier way to find savings at the store.
View 2 Replies
View Related
May 21, 2014
Is there any way to create a specific template that will extract information from PDF file and make it to an Excel File ? The Template would know each PDF and will know which information to extract to excel ?
View 1 Replies
View Related
Jan 29, 2012
While using Excel 2003, I am aware of "freeze plane" and "split worksheet". The freeze plane comes in handy if I want to the first few rows to remain stationary and displayed while I can scroll down to the rows below. Similarly, the split worksheet comes in useful if I want to have the first few columns remain in place while I can maneuver to the right to see the other columns.
*** THE QUESTION IS: how can I get cells A1 to F20 to remain displayed and unmoved even if I choose to move the active cell around anywhere between G1 to K9999
View 9 Replies
View Related
Oct 14, 2008
Are there any good website for a beginner on how to set up and store information in excel as a database? I have mutliple sheets that I use everyweek for payroll and I would like to store the previous weeks data in a seperate sheet so I dont have to save each weeks sheets.
View 9 Replies
View Related
Dec 3, 2013
I have a problem with excel. I attached the excel sheet to show the question.
excel problem.xlsx
View 2 Replies
View Related
Dec 6, 2011
I have a worksheet that contains 26 tabs all of which have the same format but contain different data based on that pay period. i would like to create a summary tab which will allow me to enter the pay period at the top (1,2,3 ect) and have excel reference that tabs information into the summary. Is this possible?
View 6 Replies
View Related
Nov 21, 2012
I have a text box in a user form that when the information is added and the command button is clicked I would like that information to go to this workbook, which is in a different location.
H:Burney TableMaterial That Needs AddedMaterial to be added.xls
I need the in formation to stay in Column A starting in Row 2.
The next time info is entered into the text box and the command button is clicked i need the information to go to the next empty row in the workbook
View 3 Replies
View Related
May 7, 2014
I am trying to get a grip on my gas n electric bills. My problem is in creating a formula to convert the info I have into the final bill.
The info I have is -: days of use, amount of G n E used, standing charge, price/unit and discounts applicable. For simplicity I have converted them all into a rate per day and £GB. I tried the following formula
:-(standing charge per day * days used)+(cost per KWH * No.of KWH used) - (discounts * days used) / (100) * (94)
This last one is to account for a direct debit 6% discount. I used cell address for things like No of days usage and KWHs used in the period. The values in these cells have themselves been calculated via a formula from other info. The results I get seem to be a constant variable which indicates that I am doing it wrong.
View 3 Replies
View Related
Jul 29, 2013
i usually work with 3d and i export all my working in excel to summarise in a table.Now i came across an issue whereby i have a whole exported list for the whole project and i want to extract some of the info to make a new table.My master list is a dynamic one it keeps on updating from the project.
I have attached the sheet, there is one master sheet and 2 other sheets, PID10 & PID2...those sheets are break down table form the master sheet.
View 12 Replies
View Related
Apr 15, 2014
, just by using the ISIN code of a Bond in bloomberg, to get in excel:
- Coupon
- Cpn Freq
- Day Cnt
- Maturity
View 1 Replies
View Related
Feb 10, 2014
I have a file with the following columns:
ID Number - Name - Email - Comments
Is there a way that for each row and email is sent with the ID number, name and comments?
View 1 Replies
View Related
Oct 24, 2013
I have a pivot table below: Excel 2010. All of the information within it is text, not numbers, as illustrated below as well.
Below is what I have now....
Column A, Row 1 = Red
Column B, Row 1 = Blue
Column B, Row 2 = Yellow
Column C, Row 1 = Green
Column C, Row 2 = Green
What I want it to look like is below, removing the second word "green" from column C.
Column A, Row 1 = Red
Column B, Row 1 = Blue
Column B, Row 2 = Yellow
Column C, Row 1 = Green
Is there a way to do this and do it automatically? If I was doing this in a regular excel sheet, I would have a merged cell in column C, rows 1 & 2.
View 2 Replies
View Related