• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VBA script that will allow me to copy the unit # in column C to the empty cells below until it reaches the next unit #, then copies that unit #

Status
Not open for further replies.

ffarah

New Member
I would like to create a VBA script that will allow me to copy the unit # in column C to the empty cells below until it reaches the next unit #, then copies that unit # to the empty cells below it until it reaches the next unit# and so on.

I have attached a sample excel spreadsheet.

Really appreciate any help.

Thanks
 

Attachments

  • Book1.xlsx
    10.9 KB · Views: 3
Last edited:
As you misread / misunderstood my previous post so I will not waste my time,​
it's what happens when the attachment does not match the description …​
 
Then attach a workbook well matching your description or correct the description according to your original attachment.​
Proceeding like you did in your initial post means​
you are enough confident with your Excel / VBA skills to fit to your real workbook any code any helper may share …​
 
I have changed the column Letters in my post to agree with the attachment. When I copied and pasted from the actual file I placed in a different column..
Ive been trying, amongst other solutions , to use the End(xlDown) then offset to move up one row when creating my range, but have had no luck
 

ffarah

As You have read from every Forum:
  • Cross-Posting. Generally, it is considered poor practice to cross post. That is to post the same question on several forums in the hope of getting a response quicker.
  • If you do cross-post, please put that in your post.
  • Also if you have cross-posted and get an Solution elsewhere, have the courtesy of posting the Solution here so other readers can learn from the answer also, as well as stopping people wasting their time on your answered question.
 
Status
Not open for further replies.
Back
Top