AUTO COPY AND PASTE

%3CLINGO-SUB%20id%3D%22lingo-sub-1767106%22%20slang%3D%22en-US%22%3EAUTO%20COPY%20AND%20PASTE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1767106%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%20i%20need%20help%20with%20some%20vba%20or%20micro%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eso%20i%20just%20need%20to%20copy%20one%20cell%20to%20another%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3Blets%20just%20say%20i%20need%20cell%20to%20be%20paste%20in%20E3%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20the%20list%20is%20in%20row%20F%20it%20could%20be%20anything%20from%201%20up%20to%20100%20line%20i%20need%20something%20that%20can%20auto%20detect%20if%20the%20cell%20have%20anything%20in%20it%20and%20copy%20one%20buy%20one%20to%20E3%20cell%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1767106%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1767124%22%20slang%3D%22en-US%22%3ERe%3A%20AUTO%20COPY%20AND%20PASTE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1767124%22%20slang%3D%22en-US%22%3EIt's%20kind%20of%20hypothetical%20question%2C%20please%20share%20some%20sample%20data%2C%20and%20be%20specific%20about%2C%20%22i%20need%20something%20that%20can%20auto%20detect%20if%20the%20cell%20have%20anything%20in%20it%20and%20copy%20one%20buy%20one%20to%20E3%20cell%20%22!!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1767128%22%20slang%3D%22en-US%22%3ERe%3A%20AUTO%20COPY%20AND%20PASTE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1767128%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F93699%22%20target%3D%22_blank%22%3E%40Rajesh-S%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Esomething%20like%20this%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20when%20i%20paste%20all%20the%26nbsp%3B%20data%20in%20H%20like%20starting%20from%20one%20and%20down%20(%201-2-3-4-5-6-7-8%20are%20like%20example%20)%3C%2FP%3E%3CP%3Eit%20would%20start%20copying%20from%20H2%20down%26nbsp%3B%3C%2FP%3E%3CP%3Ecopy%20one%20cell%20at%20the%20time%20to%20F3%20so%20i%20can%20print%20it%20as%20son%20**bleep**%20its%20detect%20the%20call%20F3%20have%20change%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20to%20print%20these%20labels%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20dint%20know%20how%20many%20i%20get%20every%26nbsp%3B%20time%20so%20need%20something%20that%20would%20auto%20detect%20and%20would%20not%20copy%20empty%20cells%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1802214%22%20slang%3D%22en-US%22%3ERe%3A%20AUTO%20COPY%20AND%20PASTE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1802214%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F93699%22%20target%3D%22_blank%22%3E%40Rajesh-S%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20do%20you%20have%20any%20idea%20how%20i%20can%20get%20this%20working%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1802251%22%20slang%3D%22en-US%22%3ERe%3A%20AUTO%20COPY%20AND%20PASTE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1802251%22%20slang%3D%22en-US%22%3EYou%20mean%20to%20say%20that%20you%20want%20to%20copy%20data%20from%20H2%3AH48%20into%20F3%20downwards%20%2C%2C%20and%20this%20you%20want%20to%20automate%2C%2C%20like%20as%20soon%20you%20fill%20F3%20with%20H2%2C%20then%20you%20are%20expecting%20excel%20to%20fill%20the%20sequence%20or%20you%20yourself%20wanna%20fill%20it%20%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1802280%22%20slang%3D%22en-US%22%3ERe%3A%20AUTO%20COPY%20AND%20PASTE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1802280%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F722142%22%20target%3D%22_blank%22%3E%40beikme%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheck%20the%20column%20F%20in%20attached%20sheet%2C%20find%20the%20formula%20in%20cell%20F4%20downwards%2C%2C%20I%20hope%20that%20you%20are%20looking%20for%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20cell%20F3%2C%20you%20need%20to%20enter%20number%20smaller%2Fprior%20than%20H3%2C%20like%20is%201%20then%200.%20This%20will%20copy%20automatically%20in%20H4%3AH54%2C%20this%20may%20vary%20depends%20on%20the%20set%20of%20numbers%20to%20want%20to%20get.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ERemember%20cell%20H4%3AH54%26nbsp%3B%20has%20formula%20%2C%2C%20need%20to%20be%20handled%20carefully.%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1802282%22%20slang%3D%22en-US%22%3ERe%3A%20AUTO%20COPY%20AND%20PASTE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1802282%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F93699%22%20target%3D%22_blank%22%3E%40Rajesh-S%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%26nbsp%3B%3C%2FP%3E%3CP%3ENo%20that's%20not%20it%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20need%20it%20that%20when%20I%20copy%20data%20in%20starting%20from%20H2%20it%20would%20automatically%26nbsp%3B%20copy%20and%20paste%20the%20cell%20to%20F3%3C%2FP%3E%3CP%3Eind%20the%20data%20i%20past%20in%20there%20is%20random%20numbers%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20it%20could%20be%205%20lines%20of%20data%20like%20from%20H2%20to%20H7%20or%20it%20could%20be%20100%20lines%20off%20data%20like%20from%20H2%20to%20H102%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20need%20excel%20to%20detect%20if%20and%20copy%20the%20cells%20only%20if%20they%20have%20data%20in%20them%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20i%20need%20it%20to%20be%20done%20one%20cell%20at%20the%20time%26nbsp%3B%3C%2FP%3E%3CP%3Eso%20i%20can%20use%20my%20print%20vba%20to%20print%20the%20label%20every%20time%20f3%20have%20bin%20updated%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

Hi all i need help with some vba or micro 

 

so i just need to copy one cell to another 

 lets just say i need cell to be paste in E3 

but the list is in row F it could be anything from 1 up to 100 line i need something that can auto detect if the cell have anything in it and copy one buy one to E3 cell 

 

11 Replies
Highlighted
It's kind of hypothetical question, please share some sample data, and be specific about, "i need something that can auto detect if the cell have anything in it and copy one buy one to E3 cell "!!
Highlighted

@Rajesh-S 

 

something like this 

So when i paste all the  data in H like starting from one and down ( 1-2-3-4-5-6-7-8 are like example )

it would start copying from H2 down 

copy one cell at the time to F3 so i can print it as son **bleep** its detect the call F3 have change 

I need to print these labels 

i dint know how many i get every  time so need something that would auto detect and would not copy empty cells 

 

Hope this helps 

Highlighted

@Rajesh-S 

 

Hi

 

So do you have any idea how i can get this working ?

Highlighted
You mean to say that you want to copy data from H2:H48 into F3 downwards ,, and this you want to automate,, like as soon you fill F3 with H2, then you are expecting excel to fill the sequence or you yourself wanna fill it ?
Highlighted

@beikme 

 

Check the column F in attached sheet, find the formula in cell F4 downwards,, I hope that you are looking for this.

 

In cell F3, you need to enter number smaller/prior than H3, like is 1 then 0. This will copy automatically in H4:H54, this may vary depends on the set of numbers to want to get.

 

Remember cell H4:H54  has formula ,, need to be handled carefully.

Highlighted

@Rajesh-S 

 

Hi 

No that's not it 

i need it that when I copy data in starting from H2 it would automatically  copy and paste the cell to F3

ind the data i past in there is random numbers 

and it could be 5 lines of data like from H2 to H7 or it could be 100 lines off data like from H2 to H102 

i need excel to detect if and copy the cells only if they have data in them 

and i need it to be done one cell at the time 

so i can use my print vba to print the label every time f3 have bin updated 

Highlighted

@Rajesh-S 

 

I'm using this vba to print 

 

 

Private Sub Worksheet_Change(ByVal Target As Range)
Dim KeyCells As Range

Set KeyCells = Range("F3")

If Not Application.Intersect(KeyCells, Range(Target.Address)) _
Is Nothing Then

ActiveSheet.PrintOut


End If
End Sub

 

Highlighted
I'm confused,, since ActiveSheet.PrintOut prints the Active sheet, I mean the entire sheet, are you sure that you want this only or something else !!
Highlighted

@Rajesh-S 

i have set print area so it would only print part that i need 

Highlighted
This VBA code will print the current sheet/part of it what so every when cell F3 has no value,, then could you please write me,,, how you get value in F3,, from Keyboard or through formula,, if using formula then using which cell to copy in F3 !
Highlighted

@Rajesh-S 

 

I dont have a formula i need a vba that will detect  if the cell is empty or if there is something there and if there is something there it would copy to f3