0
I am using the following code to present only the day and month.
Range("AB2").Select
ActiveCell.Value = "=Now()"
ActiveCell.NumberFormat = "yy/mm"
ultima_linha = Range("A" & Rows.Count).End(xlUp).Row
Range("AB2").AutoFill Destination:=Range("AB2:AB" & ultima_linha)
I want it to be presented as follows: text/17/31/text.
Some help on how to popular the fields?
I don’t understand Ricardo! So: date = "text1 & " / " date & " / " & text2"
– b8engl
I have to defer the strings : text1 = Ricardo; text2 = Punctual;
– b8engl
You have to define strings before using
– Ricardo Pontual
I still don’t understand! The date value twice as a string?
– b8engl
How do I separate the "date" variable inside the string?
– b8engl
@b8engl the motivation behind assigning
data = texto1 & "/" & data & "/" & texto2
, that is to attribute to the variabledata
, the value oftexto1
,texto2
and again the variable valuedata
, is to decrease the amount of ram memory used in the application... He could have donedata_concatenada = texto1 & "/" & data & "/" & texto2
, however, this result would be allocated to another memory address, thus making the program consume more memory at the time of its use.– dot.Py