|
楼主 |
发表于 2022-1-4 16:55
|
显示全部楼层
function Macro4()
{
Selection.Formula = "=I4";
Application.EnableEvents = false;
ActiveWindow.SelectedSheets.PrintOut(1, 2147483647, 1, false, "RONGTA 80mm Series Printer", false, true, undefined, false);
Application.EnableEvents = true;
Selection.Formula = "=I5";
Application.EnableEvents = false;
ActiveWindow.SelectedSheets.PrintOut(1, 2147483647, 1, false, "RONGTA 80mm Series Printer", false, true, undefined, false);
Application.EnableEvents = true;
Selection.Formula = "=I6";
Application.EnableEvents = false;
ActiveWindow.SelectedSheets.PrintOut(1, 2147483647, 1, false, "RONGTA 80mm Series Printer", false, true, undefined, false);
Application.EnableEvents = true;
这是录的宏,不知道I5单元格那应该怎么修改,求大神 |
|