Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

add a column label to a list object using VBA

Avatar of Andreas Hermle
Andreas HermleFlag for Germany asked on
Microsoft OfficeMicrosoft ExcelVBA
2 Comments1 Solution112 ViewsLast Modified:
Dear Experts:

I got a list object on the active worksheet named 'MyTable'.

I would like to enter the term 'PageBreak' as Column Label to the right of this list object (MyTable') using VBA

Example:

Before:
ItemNo    Description      Country     Address

After:
ItemNo    Description     Country     Address    PageBreak (Column Label 'PageBreak' to be added via VBA)


In other circumstances the list object 'MyTable' may have 10 columns not just 4 columns before the macro is run.

Help is much appreciated. Thank you very much in advance.

Regards, Andreas
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answers