Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this code
Dim wkbk As Workbook Application.Goto Reference:="R1C1" ActiveCell.FormulaR1C1 = "=NOW()" ActiveCell.Select Selection.Copy ActiveCell.Offset(2, 0).Range("A1").Select Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False Application.CutCopyMode = False Application.DisplayAlerts = False ActiveWorkbook.SaveAs Filename:="H:\ActivateWindows_Test.xls" wkbk.Close Savechanges:=True Application.DisplayAlerts = True End Sub -- If this post helps click Yes --------------- Jacob Skaria |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro switch between windows question | Excel Discussion (Misc queries) | |||
XP windows Registry Question | Excel Discussion (Misc queries) | |||
windows xp file name convertion question | Excel Discussion (Misc queries) | |||
Windows Explorer Question | Excel Programming | |||
AddressOf / Windows API question | Excel Programming |