Re: Boolean Property for "Number stored as text"?
You are INDEED right!
Thanks!
How how did you find out about the hidden character(s)?
Kim
Re: Boolean Property for "Number stored as text"?
You are INDEED right!
Thanks!
How how did you find out about the hidden character(s)?
Kim
Re: Boolean Property for "Number stored as text"?
I believe I also have a similar problem.
I copied and pasted an online report onto a spreadsheet, and the numbers are stored in text format (used istext to verify that). However, I could not
manipulate the number even after I attempted to convert them to numbers by using value().
I attached a sample.xls.
Any thoughts about how to convert the text?
Thanks!
Re: worksheets do not work on other pc
Hi,
Here are what I have:
Function PLCalc(inputvar As String, ddate As Date) As Double
Dim start_date As Date
PLCalc = 0
start_date = "11 / 1 / 04"
j = WorksheetFunction.Days360(start_date, ddate) + 1
With ThisWorkbook.Worksheets("JD Entry")
Select Case inputvar
Case "sef_trader1_hub1"
For i = 1 To 56
temp = .Cells(219 + i, "AO").Value * .Cells(325 + j + 35 * (i - 1), "AH").Value
PLCalc = PLCalc + temp
Next i
End Select
End With
End Function
HI,
I have this problem which is really killing me. I have built a spreadsheet using some UDF. In the UDF, I use a with/end with, and when using the with statement, i specified the with workbooks(" ").worksheets("")
When I tried to link the values (calculated by this UDF) to another spreadsheet, everything works. But when my manager tries it on his pc,
he always got the $values everytime.
I really dont understand why it works on my pc but not his. And I'm taking
the blame along the process
Any help is appreciated!
Kim
Re: when the range in the index() is a link
Thank you all!!
Now I got it!!
Kim
Hi,
I'm using an index function like this = index(A1, 1,1) where in Cell A1
is the text Range1. Range1 is the name of the range of cells that I
defined.
However, =index(A1,1,1) does not work! Nor = index(""&A1,1,1)!!
What is the correct sytnax for this !!
Any help is appreciated!!
Thanks,
Kim
Thank you !
Kim
Hi,
I have the following codes to insert 100 rows starting from the activecell.
Sub AddRows()
Dim i As Long
Application.ScreenUpdating = False
For i = 1 To 100
ActiveCell.EntireRow.Insert
Next i
End Sub
I saw that this macro took rather long time. What is a better way (without
using the for loop) to insert 100 rows?
Thanks!
Kim
Oh, i got it now. I used the methods outlined in the "Excel File Size Increases" Page. Now it's back to 27M. Still weird what has happened.
Well, to be honest
I create some links in some cells, but they are innocent enough for me to believe that it shouldnt cause the problem
Hi,
I have a file sized 27M just earlier, and then I didnt do anything, and when
I saved it turned out to be 80M! What could be the reasons??
Thx,
Kim
Oh Thank you!
Actually the Find and Replace actually works! I wasnt aware that the F&R
can be used even for formulas.
Kim
Hi,
I have a big range and within each cells I have something like
=BV1 - sum(), BV2 - sum(), BV3- sum()
The formula for these cells are okay, except that I need to change
each to BK instead of BV ... and keep whatever in sum() the same
What VBA codes can I write so I can go to each cells' formula, and just
change the "V" to "K" ..?
Thanks!!
Kim
That's it. Many Thanks!
Kim
Hi,
What can I do to recalcuate a function everytime I run a macro?
The function I have has two inputs, but these inputs are independent of the macro. Thus, the value returned by the function does not change because
the inputs do not change.
I believe a line would do, something like "refresh function" or something?
Thanks for any suggestions.
Kim
Hi, Thank you. Your codes are what I'm looking for. Thanks.
Kim
Hi,
I have the following problem. I hope someone is able to offer me help.
When I want to import an existing file from a excel file stored in my computer, i use the following lines of codes:
With ActiveSheet.QueryTables.Add(Connection:= _
"TEXT;Z:\Kim\Sept 2003\2003\home\ftp\pub\account\lmp\20030930.csv" _
, Destination:=Range("A1"))
The problem is, I have to import many files for each day, namely, 20030929
,20030928 ... How can I add a parameter variable into codes like this?
So, I want something like this (but obviously this doesnt work)
With ActiveSheet.QueryTables.Add(Connection:= _
"TEXT;Z:\Kim\Sept 2003\2003\home\ftp\pub\account\lmp\2003[date].csv" _
, Destination:=Range("A1"))
So, I just need to input "date" (0929, 0927...etc)
Thanks,
Kim
Ah, thanks. : )
Kim
hi, i have the following problem. any suggestions are greatly appreciated.
there are some .csv files on the net that i wrote a macro to retrieve them automatically, and then save these files in excel as worksheets... however, the website put the older files in zip format, and i'm at a loss how to retrieve those .. the website is http://www.pjm.com/markets/jsp/lmp.jsp
thanks,
Kim
Thanks! That's what I was looking for.
Kim