Victtor
Board Regular
- Joined
- Jan 4, 2007
- Messages
- 170
- Office Version
- 365
- Platform
- Windows
Here is a macro I recorded. I need this to paste values only in the new sheet. The blank cells must truly be blank and not with a formula in them. The online webpage I upload this to will return an error if there is data in the blank cells. Thanks for your help
Sub MBMexport()
'
' MBMexport Macro
'
' Keyboard Shortcut: Ctrl+Shift+V
'
Range("D5").Select
Sheets("export").Select
Sheets("export").Copy Before:=Workbooks("MBMexportfile.csv").Sheets(1)
ActiveWorkbook.Save
ActiveWorkbook.Save
ActiveWindow.Close
End Sub
Sub MBMexport()
'
' MBMexport Macro
'
' Keyboard Shortcut: Ctrl+Shift+V
'
Range("D5").Select
Sheets("export").Select
Sheets("export").Copy Before:=Workbooks("MBMexportfile.csv").Sheets(1)
ActiveWorkbook.Save
ActiveWorkbook.Save
ActiveWindow.Close
End Sub