Trying to find value in range and get its row. Variable not set error?

The code below is supposed to take the value for net in each month, copies it, search for net name in range1(another worksheet) and pastes value in the cell corresponding to that row and column “AA”. This part of code is gaving issue: “”Set Netrng = Range(“AA” & Range1.Find(What:=Net, After:=ActiveCell, LookIn:=xlValues, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=…

Details

Update a global python variable inside a function

I have a function inside a method of a class like this: from tkinter import Frame, Tk, BOTH, Text, Menu, END from tkinter import filedialog as tkFileDialog class Example(Frame): def __init__(self, parent): Frame.__init__(self, parent) self.parent = parent self.initUI() self.path = None print(self.path) def initUI(self): self.parent.title(“File dialog”) self.pack(fill=BOTH, expand=1) menubar = Menu(self.parent) self.parent.config(menu=menubar) fileMenu = Menu(menubar)…

Details