Hi guys,
I am a newbie in vbscript and I need your help I am basically trying to copy all the data from one excel sheet into the same excel sheet (in the same location) but I want to paste it as value (pastespecial- value) as I want to remove all the formulas in the excel sheet and cel value should only be value not the formula
This is what I have done till now
Set objSheet = objExcel.ActiveWorkbook.Worksheets(4)
objsheet.Range("A1:T10000").Select
Selection.Copy.All
ActiveSheet.Paste.Value
its giving me an error that
Select method of range class failed
Also I want to make sure that there are no decimal numbers in the sheet but i donno how to achieve it
I need your help... please
I am a newbie in vbscript and I need your help I am basically trying to copy all the data from one excel sheet into the same excel sheet (in the same location) but I want to paste it as value (pastespecial- value) as I want to remove all the formulas in the excel sheet and cel value should only be value not the formula
This is what I have done till now
Set objSheet = objExcel.ActiveWorkbook.Worksheets(4)
objsheet.Range("A1:T10000").Select
Selection.Copy.All
ActiveSheet.Paste.Value
its giving me an error that
Select method of range class failed
Also I want to make sure that there are no decimal numbers in the sheet but i donno how to achieve it
I need your help... please