Forum Discussion

dfhidromod's avatar
dfhidromod
Copper Contributor
Nov 30, 2020
Solved

Create a new table selecting info from an existing table in Excel vba

Hi everyone! I am trying to make a nice table (sheet 2) out of different information about a company from a bigger table (sheet1). The info is in different language and has more sections than need...
  • HansVogelaar's avatar
    HansVogelaar
    Dec 11, 2020

    dfhidromod 

    The major problem: you changed cmdCancel_Click to cmdCancel_Click3 and cmdOK_Click to cmdOK_Click3. That won't work: Click is the name of the event, you can't just change that.

    Other problems: the headers are now in row 1 instead of row 2, and your column offsets for the context and activity were off by 1.

    See the attached version.

Resources