troubleshooting Question

Modify VBA to copy and paste.

Avatar of LUIS FREUND
LUIS FREUND asked on
Microsoft OfficeMicrosoft ExcelVBA
4 Comments1 Solution161 ViewsLast Modified:
I have this VBA code that copies and paste and it works great except when I have this in a cell:  744350E00, when I run the code it changes it to 7.44E+05.  I wanted to keep the same format.   Below is the code.  Can the code be modified to not convert it to a scientific format?

Sub Sort()
With Worksheets("MAIN_PN").Range("A4:K500")
    .Value = .Value
End With
End Sub
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros