I am trying this vba code that is not working =_=
I am changing the format of row 2 and the last column
This gives me a compile error on the bolded part above (.columns)Please Login or Register to view this content.
I am trying this vba code that is not working =_=
I am changing the format of row 2 and the last column
This gives me a compile error on the bolded part above (.columns)Please Login or Register to view this content.
Hi,
Remove the . before the Columns.Count.
Incidentally it's not good practice to use the sheet tab name in VBA code. The tab name is too easily changed and a procedure that relies on it will crash.
Instead use the VBA sheet code name.
e.g.
Please Login or Register to view this content.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star icon below the post.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks