Hello.
Can you add/delete the amount of columns you have in a worksheet based on the data of a cell in another worksheet ?
Example:
Cell "A2" = 5 in "Summary" worksheet.
Amount of columns in "rental" worksheet is five.
By changing "A2" in the "summary" worksheet to 3 or 7, I would like the program to add the amount of columns I have in "rental" worksheet to seven or delete the columns to three (formulas incl.).
I'm new to VBA so I can rephrase if this doesn't make sense.
Thanks for any help.
Can you add/delete the amount of columns you have in a worksheet based on the data of a cell in another worksheet ?
Example:
Cell "A2" = 5 in "Summary" worksheet.
Amount of columns in "rental" worksheet is five.
By changing "A2" in the "summary" worksheet to 3 or 7, I would like the program to add the amount of columns I have in "rental" worksheet to seven or delete the columns to three (formulas incl.).
I'm new to VBA so I can rephrase if this doesn't make sense.
Thanks for any help.