excel - Calling a sub to another worksheet -


I go through each worksheet and check for the flag.

If the flag is raised, I want to run another sub to it, flag check works, but the other sub which is said to be run on the main sheet.

sub update () Worksheet for each section in the active workbook. Worksheets (ws.Cells (1, 5) = 1) Then call update2 ( Ws) ends if the next ending sub-update2 (worksheet as the worksheet) ws.clear & lt; ---- & Sub Subsection

how do i get it ?

Text "itemprop =" text ">

You either need to use a public variable (usually not recommended) or send the necessary logic to those necessary processes where they are necessary.

  Sub Update 2 (worksheet as Worksheet) Call Thes (WS) and Sub SubSys (version as worksheet) ws.cells (1,6) = "Hello" end sub  

Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Algorithm negotiation fail SSH in Jenkins -

java - Messages from .properties file do not display UTF-8 characters -