Hi ,
Anyone can tell me the Vb code in Excel for copying the data from onc cell to another cell without changing the format..
When i use like
cells(2,2) = cells(1,1)
It's copied the value but not the exact format ..
Thanks in advance
Hi ,
Anyone can tell me the Vb code in Excel for copying the data from onc cell to another cell without changing the format..
When i use like
cells(2,2) = cells(1,1)
It's copied the value but not the exact format ..
Thanks in advance
You can copy/paste special as such:
Range("A1").Select
Selection.Copy
Range("B2").Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Bruce
The older I get, the better I used to be.
USA
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks