VBA for tables

mib1019

Board Regular
Joined
Nov 9, 2017
Messages
66
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I know this is simple. I appreciate your time to help me!

I have a table listobject called "TimeData".

Need VBA to insert row above the current row. And VBA to delete the current row.

Going to put both on buttons above the table. Need the VBA to test that the row is within the range between the header and the total row.

Thanks!
MB
 
DUH. I knew that. But my mind is a mystery! Thanks!
The mind in genetal is still a mystery IMHO. Sometimes it works, sometimes it doesn't. Don't beat yourself up about it ?
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Bobsan42, I posted another question on a separate thread, but haven't received any answers. Maybe you can help me with it.

Sure would appreciate help with this.

ProjectInfo listobject resides on Project Info worksheet. TimeData listobject resides on Time Input worksheet.
"Project Name" is the first column in ProjectInfo. "Project" is column 4 of TimeData. Data validation on that column is set to ProjectList (named range for column 1 on ProjectInfo).

There are times when the Project Name changes in that column supplying the list for data validation. Once that happens, the corresponding rows in the Time Input table are 'orphaned'.

I need code that captures the 'oldname' and 'newname' when changed, and then loops through TimeData and changes the cells in Project column where 'oldname' is found.

Thanks in advance.
MB
 
Upvote 0

Forum statistics

Threads
1,215,013
Messages
6,122,690
Members
449,092
Latest member
snoom82

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top