Hi.
By running a code, an error, can anyone help me fix this error appears?
Thanks
Hi.
By running a code, an error, can anyone help me fix this error appears?
Thanks
"No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.
If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.
You have mistyped your named range "SETIQUETAa9", which applies to teste!$T$16. It should be "SETIQUETA9" for your loop of i values to reference it correctly. You are also missing a named range "SETIQUETA55" (should this point at teste!$Z$124 ?)
I'm also not convinced that this range is correctly defined:
Which seems to be causing your loop to exceed the number of named ranges...![]()
Set rng = Sheet5.Range("AF3", Sheet5.Range("N65536").End(xlUp))
I'm afraid I don't understand your requirement well enough to advise what you actually want that range to be!
let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source
If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE
Walking the tightrope between genius and eejit...
Hi.
I'm trying to populate the table (AF3: AH7) within the tags ("Empresa")
Thanks
Hi i'm solved!
Thanks![]()
Sub Look() Dim sQde Dim sCod Dim i As Long Dim x As Long Dim rng, sEtiqueta As Range Dim sQdeTT As Double Set rng = Sheet5.Range("AF3", Sheet5.Range("AF65536").End(xlUp)) x = 1 For Each sCod In rng sQde = sCod(1, 5).Value sQdeTT = sQdeTT + sQde For i = x To sQdeTT Range("sEtiqueta" & i).Value = sCod Range("sEtiqueta" & i).Offset(1, 0).Value = sCod(1, 3).Value x = x + 1 Next i Next sCod End Sub
Glad you figured it out.Thanks for letting us know.
Hope you fixed those named range issues, too![]()
Hi. Olly
thanks for the tips
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks