A
alex20850
Here is what I have done so far just by doing Record New Macro.
Sub InsertPix()
'
' InsertPix Macro
' Macro recorded 9/25/2008 by Alex Campbell
'
Selection.InlineShapes.AddPicture FileName:= _
"U:\Ax\1-HowTo\Maillist\20080826-01.gif", LinkToFile:=False, _
SaveWithDocument:=True
Selection.MoveRight Unit:=wdCell
Selection.MoveRight Unit:=wdCell
Selection.InlineShapes.AddPicture FileName:= _
"U:\Ax\1-HowTo\Maillist\20080826-02.gif", LinkToFile:=False, _
SaveWithDocument:=True
Selection.MoveRight Unit:=wdCell
Selection.MoveRight Unit:=wdCell
Selection.InlineShapes.AddPicture FileName:= _
"U:\Ax\1-HowTo\Maillist\20080826-03.gif", LinkToFile:=False, _
SaveWithDocument:=True
Selection.MoveRight Unit:=wdCell
Selection.MoveRight Unit:=wdCell
Selection.InlineShapes.AddPicture FileName:= _
"U:\Ax\1-HowTo\Maillist\20080826-04.gif", LinkToFile:=False, _
SaveWithDocument:=True
End Sub
I have NO experience writing macros.
I would like to start with a table with the first column empty and the
images in the second column.
I want to end up with the first column empty and each image is on a
different row in the second column.
The purpose of this to pull all the screenshots into a table where the first
column will be used for instructions explaining the images in the second
column.
I set the default location of Clipart Pictures with File Locations. It
would be very useful if the user could choose the file location as part of
the macro.
I created a table with one row and two columns.
I put the cursor in the second column, chose Insert, Picture, From File.
I highlighted the first picture and clicked on Insert.
Then I pressed tab twice.
The first is to create a new row.
The second was to move to the second column.
I would like the macro to move through the selected pictures in the folder.
Sub InsertPix()
'
' InsertPix Macro
' Macro recorded 9/25/2008 by Alex Campbell
'
Selection.InlineShapes.AddPicture FileName:= _
"U:\Ax\1-HowTo\Maillist\20080826-01.gif", LinkToFile:=False, _
SaveWithDocument:=True
Selection.MoveRight Unit:=wdCell
Selection.MoveRight Unit:=wdCell
Selection.InlineShapes.AddPicture FileName:= _
"U:\Ax\1-HowTo\Maillist\20080826-02.gif", LinkToFile:=False, _
SaveWithDocument:=True
Selection.MoveRight Unit:=wdCell
Selection.MoveRight Unit:=wdCell
Selection.InlineShapes.AddPicture FileName:= _
"U:\Ax\1-HowTo\Maillist\20080826-03.gif", LinkToFile:=False, _
SaveWithDocument:=True
Selection.MoveRight Unit:=wdCell
Selection.MoveRight Unit:=wdCell
Selection.InlineShapes.AddPicture FileName:= _
"U:\Ax\1-HowTo\Maillist\20080826-04.gif", LinkToFile:=False, _
SaveWithDocument:=True
End Sub
I have NO experience writing macros.
I would like to start with a table with the first column empty and the
images in the second column.
I want to end up with the first column empty and each image is on a
different row in the second column.
The purpose of this to pull all the screenshots into a table where the first
column will be used for instructions explaining the images in the second
column.
I set the default location of Clipart Pictures with File Locations. It
would be very useful if the user could choose the file location as part of
the macro.
I created a table with one row and two columns.
I put the cursor in the second column, chose Insert, Picture, From File.
I highlighted the first picture and clicked on Insert.
Then I pressed tab twice.
The first is to create a new row.
The second was to move to the second column.
I would like the macro to move through the selected pictures in the folder.