Borders Macro

SamanthaP

New Member
Joined
Jan 22, 2014
Messages
14
Hi all

I'm trying to create a booking sheet that my colleagues and I can use to keep track of our desk allocations to clients; I'm fine with simple macro recording to fill colour, add a border and centre the text etc. (will be a shared workbook so using Alignment > Centre across selection rather than Merge Cells) but if a booking needs to be deleted, I want the borders to go back to how I have already set them up. T

he problem is that Desk 1 and Desk 14 have different borders from the other desks and if I try to format another row and hide it so that the macro can use the borders to format paint the selection using the hidden row, it messes up if the booking is made on a half hour because I have a solid border going down on the hour and a broken border going down the half hour.. I can't reset the whole row as we often have more than one booking a day on a desk and I only want to delete and reset the selection... any ideas would be greatly appreciated!!

I'd upload a document or screenshot but am a newbie so not sure how to do it :/

Am on Excel 2010.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi all

I'd upload a document or screenshot but am a newbie so not sure how to do it :/

Am on Excel 2010.

You can post a link to a sample workbook along with what you want and where you want it. Perhaps show a couple manual entered results as an example also.

Drop Box works well for me, but there are others.

Regards, Howard
 
Upvote 0
^^ thank you! ^^ I've put it on my Skydrive... hope you can see it... feel free to run the macros I've done already and mess about with it. Will also need it to be able to remove any comments added to the selection :) http://sdrv.ms/1c3MFOj
 
Upvote 0
I guess I don't know how or what to do with the image I get from Skydrive.

An Excel look-alike sheet but I can do nothing but select different cells.

Hopefully someone can help you with you query.

Regards,
Howard
 
Upvote 0
Sorry, I'm not catching on to what is going wrong with the sheet.

Can you make some entries and show the "failure" that happens along with a step by step detailing of what you want and where you want it.

Not sure I will have a solution but am willing to take a look.

I assume the different borders for Desk 1 and 14 is because they have a Thick border top and bottom, respectively, and the other Desks do not?

Howard
 
Upvote 0
And yes, anything that we might be able to get to work for desks 2-13 would not necessarily work for Desks 1 and 14... I could cope with that though!! :)

Samantha
 
Upvote 0
Well, whether or not I have a solution, that does a good job describing the problem.

I'll ponder away.

Howard
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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