CsJHUN
Active Member
- Joined
- Jan 13, 2015
- Messages
- 360
- Office Version
- 365
- 2021
- 2019
- Platform
- Windows
- Mobile
Hi guys!
Im trying to declare some value from cells value to other cell value.
(I give a list of datas in columns, the macro get the datas from do-until loop, write this data to a specific cell, call another macro, than step forward)
Here is what I have now:
On TEMP00, there will be 4 column. Vizsgazo ("Q") and vizsgaztato("R") stored as text, tema("S") and szint("T") are numbers. THe cell in "V1" is just a simple =counta(Q:Q)
I always got No.13 error messages at the first line (vizsgaztato)
Im trying to declare some value from cells value to other cell value.
(I give a list of datas in columns, the macro get the datas from do-until loop, write this data to a specific cell, call another macro, than step forward)
Here is what I have now:
Code:
Sub asd()
s = 1
Do
s = s + 1
vizsgaztato = Workbooks(MyName).Sheets("Temp00").Range("Q" & s).Value
vizsgazo = Workbooks(MyName).Sheets("Temp00").Range("R" & s).Value
tema = Workbooks(MyName).Sheets("Temp00").Range("S" & s).Value
szint = Workbooks(MyName).Sheets("Temp00").Range("T" & s).Value
Workbooks(MyName).Sheets("MAIN").Range("Thematic") = tema
Workbooks(MyName).Sheets("MAIN").Range("ThematicLevel") = szint
Workbooks(MyName).Sheets("MAIN").Range("Trainer") = vizsgaztato
Workbooks(MyName).Sheets("MAIN").Range("Operator") = vizsgazo
Call Exam1Create.CreateExam
Loop Until s = Workbooks(MyName).Sheets("Temp00").Range("V1").Value
End Sub
On TEMP00, there will be 4 column. Vizsgazo ("Q") and vizsgaztato("R") stored as text, tema("S") and szint("T") are numbers. THe cell in "V1" is just a simple =counta(Q:Q)
I always got No.13 error messages at the first line (vizsgaztato)