|
-
Aug 29th, 2006, 09:11 AM
#1
Thread Starter
Frenzied Member
Excel cell fill example
Is there a neat way of saying "fill cells A1 to A12 with dashes (-)" ?
If so ... can someone enlighten me ... thanks a lot !
-
Aug 29th, 2006, 09:23 AM
#2
Re: Excel cell fill example
VB Code:
Dim rngOrange As Range
Set rngOrange = ThisWorkbook.Worksheets("Test").Range("A1:A12")
rngOrange.Value = "-"
Declan
Don't forget to mark your Thread as resolved.
Take a moment to rate posts that you think are helpful 
-
Aug 30th, 2006, 02:25 AM
#3
Thread Starter
Frenzied Member
Re: Excel cell fill example
See ... I knew there would be !
Cheers Kenny
-
Aug 30th, 2006, 02:28 AM
#4
Thread Starter
Frenzied Member
Re: Excel cell fill example
Actually thats not "quite" what I had in mind .. but its close enough for me to use.
What I was after was the entire cell to be filled with "-" characters, so when I set a range it would give me a continuous dotted line, but I can use what you gave me as its neater than what I had.
-
Aug 30th, 2006, 08:29 AM
#5
Re: Excel cell fill example
If you need a continuous dotted line, why don't you use the borders of the range?
Declan
Don't forget to mark your Thread as resolved.
Take a moment to rate posts that you think are helpful 
-
Aug 30th, 2006, 10:02 AM
#6
Thread Starter
Frenzied Member
Re: Excel cell fill example
That would be the most sensible idea ... but I've just realised the problem I've got with this is that all the lines are "drawn" as the entire shooting match is imported into Excel from a text file !
I had a problem where if I added one too many suddenly the line looked miles bigger when dumped in Excel.
Its all very crude (and pretty naff to be honest), so I'm not going to waste any more time with it. They can live with it !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|