Re: Turn off Error Alert when using zero values in a Logarithmic Scale
I think it's only active during the macro. This could be a problem I assume.
Re: Turn off Error Alert when using zero values in a Logarithmic Scale
I think it's only active during the macro. This could be a problem I assume.
Re: Linking to another excel workbook (Import Data)
I assume you use links to do this. I've never had this situation before, can easy open both files in write mode.
Re: create a new workbook
Worksheets("Sheet3").Activate
If Range("l1").Value <> "" Then Range("l1").Value = CDate(Date)
asdate = Range("l1").Value 'date entered by user
resp4 = MsgBox("Case particulars of " & asdate & " will be backed up and deleted from this sheet! Proceed? (Y/N)", vbYesNo, "Deletion of Data")
If resp4 = 7 Then
Exit Sub
ElseIf resp4 = 6 Then
fdate = Format(asdate, "ddmmyyyy") & "_croi.xls"
Range("a1:o25").Select
Selection.Copy
Workbooks.Add
Worksheets("sheet1").Activate 'sheet1 of new work book
Worksheets("Sheet1").Paste
ActiveWorkbook.SaveAs Filename:="c:\assignment\" & fdate
ActiveWorkbook.Close
Worksheets("Sheet3").Activate 'worksheet3 of old worksheet
Range("l1").Value = "" 'clear the contents
Range("b4:e23").Value = ""
Range("i4:l23").Value = ""
Range("b4").Select
End If
Display More
This lines are confusing:
If Range("l1").Value <> "" Then Range("l1").Value = CDate(Date)
asdate = Range("l1").Value 'date entered by user
You say date entered by user, but if a value is put in => the current date is filled in.... just a remark
Re: Count unique entries formula
Thanks Bob, works great.
Hi,
I've a table(colA) with for example:
A
A
B
B
1000
2000
C
A
B
5000
C
C
I would like a formule that counts every item onces without the duplicates.
So every unique item should be counted, the result for the example above should be 6.
Hope this is possible with a simple formule.
Gr,
Gollem
Re: Importing Input Data from Excel to Visual C++
Maybe this helps, it's c# but can do the job
Re: Importing Input Data from Excel to Visual C++
What exactly are you trying to do? Do you want to add data to excel and read data from excel with C++. If you don't have a basic understanding of C++ I wouldn't recommend it, however if you have experience with VB, you can write the program in VB.net and then convert it to C++. It's possible since .net version.
Re: Dynamic range formule
Thanks kris, seems to work also nice. : D
I'll take a look at it.
Re: Dynamic range formule
Thanks for the reply Bob. :smile:
It seems to work great, but can you explain a little bit what the formule does, how it works. I'm not figuring it out :confused:
Thanks
Hi,
I've a little problem with my formule in Excel. I 've checked the explanation of dynamic ranges on the site here but I can't seem to find a solution myself.
I have a little table with data that will be filled in and change a lot. Now I want a table next to it with a result of a filter that also can change. All this has to be done with formules, I can solve this problem with VBa but I would like to learn how I can solve this with formules.
I've uploaded a small example that shows my problem and the desired outcome.
Thanks for the help and support in advance.
Gr,
Gollem
Re: Match then Time Stamp
Yes this is possible, here's an example with Vba.
Check the attached file.
Gollem
Re: "Type mismatch"
According to me this does the same, I could be wrong:
Re: Open File at a specific time everyday.
Hi you can use the microsoft windows sheduler to do this.
Re: Set Focus on Combobox
I don't think the setfocus is supported for a combobox on a sheet. For a box on a form => ok, but not on a sheet.
Re: Set Focus on Combobox
Quoteallow the user to select from the box and then return control back to the regular code
Hi, small remark:
I think you have to write 2 procedures instead of 1 program that should interact. The first program should do the things without the combobox and the second should trigger if the user selects an item of the box. That way the box doesn't have to be activated.
(By the way I don't know how you activate the box on a sheet. selecting yes, but activating no)
Re: Determine if a userform is loaded
I don't know if this is the best way, but you can use a public variable to do this. When the form is loaded you set your variable for example to 1, then you can check if the form is loaded or not. When the form is unloaded you set the variable to 0.
Re: populate textbox with spreadsheet range
Perhaps this works:
Dim ExcelWB As Excel.workbook
Dim ExcelSH As Excel.worksheet
Dim ExcelApp As Excel.Application
Set ExcelApp = New Excel.Application
Set ExcelWB = ExcelApp.Workbooks.Open("C:\Documents and Settings\Owner\Desktop\TheEstimator\Jobs\test.xls")
Set ExcelSH = ExcelWB.Sheets("Main Roof")
TextBox1.Value = ExcelApp.ExcelWB.ExcelSH.Range("c43").value
Something shorter: