简体   繁体   中英

Solution on a specific Excel-VBA code is needed

Below text has to be seen with the picture attached.

The part i need to get help with the regarding the VBA code.

I would like to be able to write a New comment under sheet1 and then press the button "load new comments" ,What should happen when pressing the button:

If any new comments copy the information (new comment and Workorder) to sheet2 in first "free row" (Workorder under workorder and New comments to comments)

Sort Sheet2.Column.Number with highest number first.

Then Clear Sheet1.column "New Comments"

看图解决问题

I'm not sure if you are aware of this, but everything which can be written in a VBA macro, can also be recorded. I'm advising you to record a macro while you are manually adding your comments, and see in the VBA editor what the recorded macro looks like.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM