VBA Dont Run For Dutch?
Apr 27, 2006
I've developed a VBA application for excel in my english version. Now I sent to the client, wich is dutch and use dutch office. they say it gives errors at simple lines like TextBox1.Left=100. It seems there is no Left property. I installed their office but Left is there for me. I suspect their configuration have some version of VBA with translated code language... like using Links instead Left... wich is same thing for dutch. What could cause VBA translation of properties so I can have same configuration as they do?
View 4 Replies
ADVERTISEMENT
Jul 12, 2007
I have a VLOOKUP formula and if it looks and does not find a match it will either put a "0" or a N/A. Is there something I can add to it to leave the cell blank if it does not find a match?
View 9 Replies
View Related
Jul 30, 2009
Basically I have a =VLOOKUP(E2,Sheet3!$A$1:$C$7442,2,FALSE) And sometimes it doesnt find the number its looking up, so theres no data to display, so it just shows #N/A is there anyway I can make the =VLOOKUP(E2,Sheet3!$A$1:$C$7442,2,FALSE) display "not found" if it doesnt find anything?
also sometimes if it does find the number its looking up, and the cell next to it is blank, it just displays 0. I could filter it.. and then just replace all the 0 and #N/A with not found, but im just wondering if i could do it in the code too.
View 5 Replies
View Related
Jul 24, 2009
I have rows of data that repeats every now and again and codes next to them What I need to do is have same row of data (without it repeating) and relevant codes next to these across the page. Tried doing Pivot table and failed. Example and proposed format enclosed.
View 4 Replies
View Related
Dec 29, 2009
I am using Excel 2007. I have read that if you open an excel 2003 document, that has external links, the links will be recacluated automatically. How do I change the settings in '07 so that the links are not recalculated when I open a 2003 excel file?
View 9 Replies
View Related
Apr 16, 2008
I have a spreadsheet with rows as budget line item and columns for the months they occur.
I have a cell on each row (in column B) displaying the total of that row for all the months. (columns C to Z)
I want to be able to hide certain months (columns), and have the total not include those hidden columns; but the formula for the totaling cell ( "subtotal(109,C3:Z3)" ) appears to continue counting all the columsn, even the hidden ones
View 5 Replies
View Related
Mar 23, 2009
I am making a spreadsheet and would like the "placement" tab to look at the "years in position" column and go to another tab and find the corresponding data then put that information into the cell that the formula is in. I have concatenated and the value carries out to about 6 decimal and I cant change the formating. I would like it to display as a currency with 2 decimal places.
If you look at the placement tab cell H7 you can see what I am trying to do. If you change the value in d7 to a value that is on tab 06-09 step plan (b9-b23) then the value is put in other wise noting is returned.
View 2 Replies
View Related
Nov 9, 2009
=SUMIF('[Weekly Sheets.xlsx]W1'!$A$8:$A$10000,$C$1,'[Weekly Sheets.xlsx]W1'!$K$8:$K$10000). It works fine but I need it to also lookup cell B8 if B8 has text named "ABS" dont count whats in cell K8
View 2 Replies
View Related
Oct 27, 2008
The first one works fine but the "Description" and "Customer" paste over the top of each other and dont find the empty cell. im sure im missing something!
This submits the following details into the "Stored" table. It also finds an empty cell.
View 5 Replies
View Related
Aug 21, 2009
My dad wrote me a VB programme to save me time entering repetitive data into an excel template for my business. At first it didnt work untilll i reduced security to low. Sice then I fried my computer and have had to reformat it with a diffirent version of windows, vista service pack 3. Now even on low security it doesnt work.
The little button in the worksheet to make the macro happen isnt visible or doesnt exist.
View 13 Replies
View Related
Jul 1, 2008
I have spread sheet that adds meter readings. As you enter the reading it subtracts from previous month's and gives you net value. But this always shows a negative value in the following month until you enter the current reading.
Also I would like to be able to total these net values as a running total. Is there a simple way to not show the negative values and or use those when getting the running total?
View 9 Replies
View Related
Mar 13, 2009
I have a data validation list, but i dont want the user to be able to make the cell blank. I have 5 items in the list and i wont to make sure they choose one. But the data validation allows them to enter blank.
View 9 Replies
View Related
Jun 6, 2006
Sub unprotectEm()
ActiveSheet. Unprotect Password:="shreked"
ActiveWorkbook.UpdateLink Name:="R:SHAREDPASSACCEXCELPASSACCCONTROL.XLS" _
, Type:=xlExcelLinks
ActiveSheet.Protect Password:="shreked"
End Sub
Private Sub Workbook_Open()
If ThisWorkbook.ReadOnly = True Then MsgBox "READ ONLY YOUVE BEEN WARNED"
End Sub
It works fine until its been opened as "read only". What I mean is I open the file and the read only msg box comes up no prob. When the file avail for editing again I open the file and its not updating the control list.
View 2 Replies
View Related
Jun 26, 2008
I have a sheet with data only in column A. I want to remove any rows that dont contain the word MAR. All the lines with MAR in start with: CN=GR GG COF MAR ****
macro which would do this as i have over a 100 sheets. and maybe an explanation as i am totally new to this?
View 2 Replies
View Related
May 18, 2009
I am using office 2003 and I need to create the conditional (just like in the attached image), but I need that the days -1 (day) -2(days) or -3 (days) that are in the end of each formula, I need them to be weekdays (i don't want the to count weekends.
View 3 Replies
View Related
May 28, 2009
I was done but the formula works great except if the cell is zero or blank I don't want it to include that cell in the average. in this case it still counts.
=IF(SUM(H32>0,H67>0,H102>0,H137>0)=0,0,SUM(H32,H67,H102,H137)/SUM(H32>0,H67>0,H102>0,H137>0))
View 3 Replies
View Related
Jun 18, 2008
I wondered if I could pick your brains and hopefully get some answers to my problem. I have recently been using the Personal.xls worksheet to make all my Macros available to all open workbooks so that I don't have to cut and paste Macros each time I wanted to use them.
Now I know you sometimes have to make certain adjustments to Macros in order to make them work globally. I wondered if I could find out how to amend the codes below to make them work properly. Thanks.
The first code Macro below deletes all worksheets in a workbook except for the currently active sheet. However it no longer works.
View 14 Replies
View Related
May 1, 2009
The script works however I dont want the formulas to be entered into the cells that dont have any information in them because I am using them in a list box. To sum it up. So if sheet LA (Range A3:B98) is empty then dont copy the formula. If there is a data in this range then copy the formula. Here is the script that copies the formula's I just need to check sheet LA before it does this.
View 2 Replies
View Related
Nov 13, 2008
=INDEX($AS$9:$AT$33, MATCH(B4,$AS$9:$AS$33,), MATCH("PERCENTAGE",$AS$9:$AT$9,))
That's all fine but some of the items in the list will not be able to match the lookup table and in this case I want it to say 0 (zero), but instead its saying #N/A which I understand means data unavailable. Is there a way of saying if so and so doesn't match put 0 instead of #N/A?
View 4 Replies
View Related
Jun 19, 2007
I have a file which has some data I want to keep and some data I want to strip out.
The data I want to keep will always have either a date or a string “Overdue” or a string “> 1 year” in the first column, anything else I want to remove.
Example file shown below
23-Apr-0812341234123412341234
30-Apr-0812341234123412341234
19-May-0812341234123412341234
27-May-0812341234123412341234
> 1 year12341234123412341234
Overdue12341234123412341234
View 9 Replies
View Related
Jun 25, 2007
Application.ScreenUpdating = False
Range("B:B").Select
For Each c In Selection
If c.Value = Range("A4") Then c.Rows.Interior.ColorIndex = 36
Application.ScreenUpdating = True
I got this code so far that highligts the rows that match but range a4 needs to go down the column to a5, a6, a7....so it only checks the first cell in column a. I need it check all cells. Then i was going to delete the entire row in column B where it was not highlighted.
View 9 Replies
View Related
Dec 16, 2008
i need to connect some cells, but have to check to make sure cells dont have zeros in them first
example m13 m14 m15 m16
................5......10......0........15
in cell q18 i want it to show this 5/10/15, dropping the zero cell
View 9 Replies
View Related
Sep 13, 2006
I’ve got a spreadsheet with approximately 30,000 rows and I would like to create a macro which hides every row which has not the value 12, 14 or 19 in column I. What is the best way to do it? With an if statement?
View 4 Replies
View Related
Apr 9, 2008
I cant seem to get an excel file that I have received from a Greek collegue to display Greek Characters properly.
Some of the lines in the file with Greek appear to be correct and have not been turned into gibberish.
In addition the cell properties of both the correctly displayed cell and the gibberish cell are exactly the same and in the cell format sample the gibberish is displayed as Greek Characters.
Ive tried formatting the corrupted cells with the uncorrupted cells format but that doesnt seem to have any effect.
View 3 Replies
View Related
Nov 24, 2008
I have a spreadsheet which contains data for crime incidents occurring in a month. I have created a worksheet which uses "IF" statements to pull in data that occurred within the last 24 hours only. I would like to create a report that can be printed which has a crime category and lists all the incidents for that category below that occurred during the day. The issue I am having is that all "IF" and "LOOKUP" statements are line for line and I want to be able to skip blanks or where it is not the category in the title.
View 4 Replies
View Related
Jan 7, 2010
how to get some command buttons to stick in one place? I currently have two in a summary sheet. Each button runs a similar code which clears and deletes (by shifting cells upward) at the start of the process, then populates data.
It's rather annoying though that I cant have the buttons stick to one zone, they end up moving left or right depending on which button I press. Each report also changes column sizes, dont know if that's relevant?
View 3 Replies
View Related
Apr 9, 2007
i have some code (see below). at the part where it says
If ActiveCell. Offset(0, 9).Value <> "" Then
.Fields("Skill_32") = ActiveCell.Offset(0, 9).Value
i want to make this smaller - i have to write this line bout 60 times 3 times over (incresing the numbers as i go ((0, 9..10..11 etc etc and (Skill_32..33..34 etc etc) )) to give you an idea of what im trying to accomplish - im opening and writing to a database but if the cell doesnt contain any info dont update.
Function EditCPS(ByVal StaffNumber As Long)
On Error Goto Err_Handler
Dim SkillsBuilderDB As Database
Dim RSSkillsBuilder As Recordset
Dim MySQL As String
Set SkillsBuilderDB = OpenDatabase(Worksheets("Adding Data").Range("IV1")) ' database location
MySQL = "select * from CPS where StaffNumber=" & StaffNumber
Set RSSkillsBuilder = SkillsBuilderDB.OpenRecordset(MySQL)
With RSSkillsBuilder
.Edit
If ActiveCell.Offset(0, 9).Value <> "" Then
.Fields("Skill_32") = ActiveCell.Offset(0, 9).Value
Else............................................
View 7 Replies
View Related
Nov 3, 2008
I am using this code
View 5 Replies
View Related
Mar 26, 2007
I have a list of UK Phone numbers (UK format is 0#### ######).
I have about 10,000 numbers and I am trying to get rid of the space, so I can filter out the unique numbers as some of them have been inputted with the space in a different place.
But when I format the cells to 'text' and replace the " " with "", excel annoyingly removes the "0" at the beginning.
how to stop excel from removing the "0"?
View 9 Replies
View Related