Collection Data and pasting it as a value.

brumby

Active Member
Joined
Apr 1, 2003
Messages
398
hiya......

I have a sheet in which data is constantly being added down the page.

Its a pallet log, which it contains key items like, date / pallet number / product type etc. There are some cells whihc have formula's in in the same row as the rest of the data.

I would like if possible that when all of the correct data is entered in column Q a star appears and that row is pasted as a value.

I know how to get the "*" there no problems, but dont know the code to fix everything in that row as a value.


Is it possible?


Many Thanks,
 

Some videos you may like

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

jindon

MrExcel MVP
Joined
Aug 21, 2004
Messages
16,995
try something like this
Code:
Sub test()
Dim r As Range
For Each r In Intersect(Range("q:q"), ActiveSheet.UsedRange)
   If r.Value = Chr(45) Then r.EntireRow.Value = r.EntireRow.Value
Next
End Sub
 

Watch MrExcel Video

Forum statistics

Threads
1,127,430
Messages
5,624,743
Members
416,046
Latest member
Elliottj2121

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
Top