Every time my VBA code is run I need the word "GBP" to insert in to Cell D1, and the Format of column D to change to right.
Every time my VBA code is run I need the word "GBP" to insert in to Cell D1, and the Format of column D to change to right.
Last edited by MAButler; 04-10-2011 at 05:44 AM.
Fire up the macro recorder. Enter GBP into D1. Format column D to right justified. Stop the macro recorder.
There's the code you need. You can tidy it up to remove the Select statements Excel puts in.
Hi,
Perhaps?
Regards![]()
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 iconbelow the post.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks