I 'll take your code, which is nicer/neater than mine.
This said, it doesn't work either, ..... just because when I re installed Windows etc.., I forgot ....to modify the Regional Settings (environment is in French, but I use Excel & VB, VBA in English UK).
It's all right now, both my code &...
I have been using the code below to substract 2 given dates to get days:
nbDays = DateDiff("d",date2 - date1)
date1 example : "2009-03-06" ( 06 march )
date2 example : "02Feb09"
I have
date2 = Left(date2, 2) & "-" & Mid(date2, 3, 3) & "-" & Right(date2,2)
then
date2= Format(date2...
Alt-enter is a manual operation, I want it to be done by program, when the cell is filled with the string.
Also, I DON'T WANT the wrap, just a single text line.
................
ok, I found the problem :
I did use the right property .WrapText = False
but it must be applied to the cell AFTER it...
I want a text string put into a cell to be displayed in a single line, that is extended to the right, without the cell width being modified.
Currently, the width remains unchanged but the cell height is increased to contains the whole text.
Which format must be applied to this cell to have this...
In a piece of code using web queries I normally use the F1 sheet
But when I started a similar code using another F2 sheet I have an error I do not understand:
Please explain why the first set works and the second one doesn't,
I get
"argument or procedure call incorrect (error 5)"
Both sheets...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.