1
CODE:
Range("AB2").Select
Dim tudo As String
data_pasta = Format(Date, "/yy/mm/")
tudo = "https://pagina.pt/wp-content/imagens" & data_pasta & **D2** ".png"
ActiveCell.Value = tudo
ultima_linha = Range("A" & Rows.Count).End(xlUp).Row
Range("AB2").AutoFill Destination:=Range("AB2:AB" & ultima_linha)
EXAMPLE: https://pagina.pt/wp-content/imagens/17/31/
1234122.png
Would you like the formula itself or the value it results in? I think it’s worth you explain your question a little better and explain step by step what is happening and what is in each cell or at least pass what is in the cells that will be used in the answer. The way you wrote it gets very abstract, giving room for answers that probably won’t solve your problem or won’t work.
– Paz
I want to pass the value of cell A2 inside the variable everything as shown in the example.
– b8engl